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": [
"eslint:recommended",
"plugin:node/recommended"
],
"extends": ["eslint:recommended", "plugin:node/recommended"],
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"no-console": "warn",
"no-self-assign": "warn",
"no-self-compare":"warn",
"no-self-compare": "warn",
"complexity": ["error", { "max": 15 }],
"indent": ["error", 2, { "SwitchCase": 1 }],
"no-dupe-keys": "error",