Index: .coafile =================================================================== --- .coafile +++ .coafile @@ -5,7 +5,6 @@ ignore = source/third_party [JS] -bears = ESLintBear, JSHintBear +bears = ESLintBear eslint_config = build/coala/lint-config/eslintrc.json -jshint_config = build/coala/lint-config/jshintrc.json files = binaries/data/**.js Index: build/coala/lint-config/eslintrc.json =================================================================== --- build/coala/lint-config/eslintrc.json +++ build/coala/lint-config/eslintrc.json @@ -1,10 +1,7 @@ { "parserOptions": { - "ecmaVersion": 6 + "ecmaVersion": 2020 }, - "plugins": [ - "brace-rules" - ], "rules": { "no-caller": 1, "no-cond-assign": 1, @@ -79,19 +76,6 @@ "no-dupe-class-members" : 1, "prefer-const": 0, - "brace-rules/brace-on-same-line": ["warn", { - "FunctionDeclaration": "never", - "FunctionExpression": "ignore", - "ArrowFunctionExpression": "always", - "IfStatement": "never", - "TryStatement": "ignore", - "CatchClause": "ignore", - "DoWhileStatement": "never", - "WhileStatement": "never", - "ForStatement": "never", - "ForInStatement": "never", - "ForOfStatement": "never", - "SwitchStatement": "never" - }, { "allowSingleLine": true }] + "brace-style": ["warn", "allman", { "allowSingleLine": true }] } } Index: build/coala/lint-config/jshintrc.json =================================================================== --- build/coala/lint-config/jshintrc.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "esversion": 6, - "eqeqeq": false, - "freeze": true, - "latedef": "nofunc", - "loopfunc": true, - "noarg": true, - "nonbsp": true, - "undef": false, - "unused": false -} Index: build/jenkins/dockerfiles/coala.Dockerfile =================================================================== --- build/jenkins/dockerfiles/coala.Dockerfile +++ build/jenkins/dockerfiles/coala.Dockerfile @@ -9,7 +9,7 @@ subversion RUN npm install -g npm@latest -RUN npm install -g eslint@5.16.0 jshint eslint-plugin-brace-rules +RUN npm install -g eslint@latest RUN pip3 install svn