diff --git a/.eslintrc b/.eslintrc index 47a68f9c..fdc9887d 100644 --- a/.eslintrc +++ b/.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" } } diff --git a/package.json b/package.json index 978d428e..fef02122 100644 --- a/package.json +++ b/package.json @@ -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",