1 |
{ |
2 |
"env": { |
3 |
"browser": true, |
4 |
"es2021": true |
5 |
}, |
6 |
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"], |
7 |
"parser": "@typescript-eslint/parser", |
8 |
"parserOptions": { |
9 |
"ecmaVersion": "latest", |
10 |
"sourceType": "module" |
11 |
}, |
12 |
"plugins": ["@typescript-eslint"], |
13 |
"rules": { |
14 |
"indent": "off", |
15 |
"linebreak-style": ["error", "unix"], |
16 |
"quotes": [ |
17 |
"warn", |
18 |
"double", |
19 |
{ |
20 |
"avoidEscape": true |
21 |
} |
22 |
], |
23 |
"semi": ["warn", "always"], |
24 |
"@typescript-eslint/no-var-requires": "off", |
25 |
"@typescript-eslint/no-unused-vars": [ |
26 |
"warn", |
27 |
{ |
28 |
"argsIgnorePattern": "^_", |
29 |
"varsIgnorePattern": "^_", |
30 |
"caughtErrorsIgnorePattern": "^_" |
31 |
} |
32 |
] |
33 |
}, |
34 |
"overrides": [ |
35 |
{ |
36 |
"files": ["*.d.ts"], |
37 |
"rules": { |
38 |
"@typescript-eslint/no-unused-vars": "off" |
39 |
} |
40 |
} |
41 |
], |
42 |
"ignorePatterns": ["*.js", "./node_modules/**", "./extensions/**", "./docs/**"] |
43 |
} |