diff --git a/.eslintrc.json b/.eslintrc.json index 41887cb..2e30143 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -8,8 +8,8 @@ "ecmaVersion": 2021 }, "rules": { + "no-unused-vars": "warn", "arrow-spacing": ["warn", { "before": true, "after": true }], - "brace-style": ["error", "stroustrup", { "allowSingleLine": true }], "comma-dangle": ["error", "always-multiline"], "comma-spacing": "error", "comma-style": "error", @@ -25,10 +25,10 @@ "no-floating-decimal": "error", "no-inline-comments": "error", "no-lonely-if": "error", - "no-multi-spaces": "error", - "no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1, "maxBOF": 0 }], + "no-multi-spaces": "warn", + "no-multiple-empty-lines": ["warn", { "max": 2, "maxEOF": 1, "maxBOF": 0 }], "no-shadow": ["error", { "allow": ["err", "resolve", "reject"] }], - "no-trailing-spaces": ["error"], + "no-trailing-spaces": ["warn"], "no-var": "error", "object-curly-spacing": ["error", "always"], "prefer-const": "error",