Upgrade eslint-config-loopback to latest
This commit is contained in:
parent
bd5fd07d27
commit
09e2208062
14
.eslintrc
14
.eslintrc
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue