eslint: enable no-var and prefer-const rules

This commit is contained in:
Miroslav Bajtoš 2018-12-07 15:47:25 +01:00
parent 8684df62a6
commit 261ca1f092
No known key found for this signature in database
GPG Key ID: 6F2304BA9361C7E3
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@
"ecmaVersion": 2017
},
"rules": {
// TODO(bajtos) move these two rules to eslint-config-loopback
"no-var": "error",
"prefer-const": "error",
"max-len": ["error", 110, 4, {
"ignoreComments": true,
"ignoreUrls": true,