-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
43 lines (43 loc) · 1.31 KB
/
.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
37
38
39
40
41
42
43
{
"parser": "@typescript-eslint/parser",
"plugins": ["jest", "import", "@typescript-eslint"],
"extends": ["airbnb-base", "plugin:@typescript-eslint/recommended", "plugin:import/typescript"],
"globals": {
"V8Worker2": true
},
"settings": {
"import/resolver": {
"node": {
"paths": ["."]
}
}
},
"env": {
"jest/globals": true
},
"rules": {
"indent": "off",
"@typescript-eslint/indent": ["error", 2, {"SwitchCase": 0, "CallExpression": {"arguments": "first"}, "FunctionDeclaration": {"parameters": "first"}}],
"no-undef": "off",
"@typescript-eslint/no-explicit-any": off,
"@typescript-eslint/no-angle-bracket-type-assertion": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"no-continue": 0,
"lines-between-class-members": "off",
"prefer-const": ["error", {"destructuring": "all"}],
"import/extensions": ["error", "never"],
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": [
2,
{
"ignore": [
"^@jkcfg/std$"
]
}
],
"no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"],
"no-use-before-define": ["error", { "functions": false }],
"no-useless-constructor": "off"
}
}