-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.eslintrc
36 lines (36 loc) · 918 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"env": {
"browser": true,
"commonjs": true,
"node": true,
"es2021": true
},
"extends": [
"google",
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module"
},
"plugins": ["unused-imports"],
"parser": "@typescript-eslint/parser",
"rules": {
"@typescript-eslint/no-var-requires": 0,
"quotes": ["error", "double", { "avoidEscape": true }],
"object-curly-spacing": ["error", "always"],
"require-jsdoc": 0,
"semi": 0,
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"error",
{ "vars": "all", "varsIgnorePattern": "^_", "args": "after-used", "argsIgnorePattern": "^_" }
],
"indent": "off",
"no-unused-vars": "off",
"comma-dangle": ["error", "never"],
"camelcase": "off",
"prefer-const": "off",
"max-len": ["error", { "code": 180 }]
}
}