You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1021 B
46 lines
1021 B
{ |
|
"env": { |
|
"browser": true, |
|
"commonjs": true, |
|
"es6": true, |
|
"node": true, |
|
"jest": true, |
|
"es2022": true |
|
}, |
|
"globals": { |
|
}, |
|
"extends": "eslint:recommended", |
|
"parserOptions": { |
|
"sourceType": "module", |
|
"ecmaVersion": 2020 |
|
}, |
|
"rules": { |
|
"indent": [ |
|
"error", |
|
"tab", |
|
{ |
|
"VariableDeclarator": { "var": 2, "let": 2, "const": 3 }, |
|
"SwitchCase" : 1 |
|
} |
|
], |
|
"linebreak-style": [ |
|
"error", |
|
"unix" |
|
], |
|
"quotes": [ |
|
"warn", |
|
"double" |
|
], |
|
"semi": [ |
|
"error", |
|
"always" |
|
], |
|
"no-console" : ["error", { "allow": ["warn", "error"] }], |
|
"no-unused-vars": [ |
|
"error", |
|
{ "vars": "all", "args": "none" } |
|
], |
|
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"], |
|
"valid-jsdoc": ["warn"] |
|
} |
|
}
|
|
|