Update ESLint configuration

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-03-30 17:43:02 -03:00
commit fd580b7568

View file

@ -1,15 +1,12 @@
{ {
"extends": [ "extends": ["eslint:recommended", "plugin:node/recommended"],
"eslint:recommended",
"plugin:node/recommended"
],
"parserOptions": { "parserOptions": {
"ecmaVersion": 2018 "ecmaVersion": 2018
}, },
"rules": { "rules": {
"no-console": "warn", "no-console": "warn",
"no-self-assign": "warn", "no-self-assign": "warn",
"no-self-compare":"warn", "no-self-compare": "warn",
"complexity": ["error", { "max": 15 }], "complexity": ["error", { "max": 15 }],
"indent": ["error", 2, { "SwitchCase": 1 }], "indent": ["error", 2, { "SwitchCase": 1 }],
"no-dupe-keys": "error", "no-dupe-keys": "error",