Upgrade eslint-config-loopback to latest

This commit is contained in:
Miroslav Bajtoš 2018-12-07 17:09:10 +01:00
parent bd5fd07d27
commit 09e2208062
No known key found for this signature in database
GPG Key ID: 6F2304BA9361C7E3
2 changed files with 2 additions and 14 deletions

View File

@ -1,12 +1,6 @@
{
"extends": "loopback",
"parserOptions": {
"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,
@ -15,12 +9,6 @@
// NOTE(bajtos) we should eventually remove this override
// and fix all of those 100+ violations
"one-var": "off",
"no-unused-expressions": "off",
// TODO(bajtos) move this to eslint-config-loopback
"space-before-function-paren": ["error", {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}],
"no-unused-expressions": "off"
}
}

View File

@ -39,7 +39,7 @@
"bson": "^4.0.1",
"coveralls": "^3.0.1",
"eslint": "^5.1.0",
"eslint-config-loopback": "^12.1.0",
"eslint-config-loopback": "^13.0.0",
"loopback-connector-throwing": "file:./test/fixtures/loopback-connector-throwing",
"mocha": "^5.2.0",
"nyc": "^13.1.0",