forked from Outblock/FRW-Extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
31 lines (31 loc) · 915 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"react",
// "unused-imports"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
// "plugin:prettier/recommended"
],
"rules": {
"indent": ["error", 2, { "SwitchCase": 1 }],
"quotes": [1, "single", "avoid-escape"],
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
// "no-unused-vars": "off", // or "@typescript-eslint/no-unused-vars": "off",
// "unused-imports/no-unused-imports": "error",
// "unused-imports/no-unused-vars": [
// "warn",
// { "vars": "all", "varsIgnorePattern": "^_", "args": "after-used", "argsIgnorePattern": "^_" }
// ]
},
"env": {
"browser": true,
"node": true
}
}