From af1ed8bb148377d5dda4ac408fa610a26b7c7fca Mon Sep 17 00:00:00 2001 From: David Mehren Date: Sat, 14 Aug 2021 14:25:16 +0200 Subject: [PATCH] Cleanup ESLint config This removes unneeded quotation marks and resets all rules to their default error state. Treating them only as warnings is not necessary anymore, as all warnings fail the CI since 4da68597. Signed-off-by: David Mehren --- .eslintrc.js | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index cdd673fd7..9c53aacc8 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,22 +1,8 @@ module.exports = { - "root": true, - "extends": "standard", - "env": { - "node": true + root: true, + extends: ['standard'], + env: { + node: true }, - "rules": { - // at some point all of these should return to their default "error" state - // but right now, this is not a good choice, because too many places are - // wrong. - "import/first": ["warn"], - "indent": ["warn"], - "no-console": ["warn"], - "no-multiple-empty-lines": ["warn"], - "no-multi-spaces": ["warn"], - "object-curly-spacing": ["warn"], - "one-var": ["warn"], - "quotes": ["warn"], - "semi": ["warn"], - "space-infix-ops": ["warn"] - } -}; + rules: {} +}