-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
59 lines (59 loc) · 1.56 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"parser": "@typescript-eslint/parser",
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"env": {
"es2020": true,
"browser": true
},
"plugins": ["@typescript-eslint"],
"settings": {
"import/resolver": {
"node": {
"extensions": [".ts"]
}
}
},
"rules": {
"max-len": ["error", { "code": 130, "ignoreStrings": true, "ignoreUrls": true }],
"import/no-unresolved": ["error", { "ignore": ["react"] }],
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-empty-function": 0,
"import/extensions": 0,
"import/prefer-default-export": 0,
"max-classes-per-file": 0,
"class-methods-use-this": 0,
"no-param-reassign": 0,
"no-underscore-dangle": 0,
"prefer-destructuring": 0,
"prefer-arrow-callback": 0,
"no-new": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"func-names": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"no-nested-ternary": 0,
"no-plusplus": 0,
"consistent-return": 0,
"no-sequences": 0,
"default-case": 0,
"prefer-rest-params": 0,
"@typescript-eslint/ban-types": 0,
"@typescript-eslint/ban-ts-comment": 0,
"no-bitwise": 0,
"no-multi-assign": 0,
"no-continue": 0,
"no-mixed-operators": 0,
"no-use-before-define": 0,
"radix": 0,
"no-return-assign": 0,
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error"]
}
}