-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
73 lines (73 loc) · 1.67 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"airbnb-base"
],
"env": {
"commonjs": true,
"node": true,
"mocha": true
},
"rules": {
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"mjs": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
],
"import/prefer-default-export": 0,
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"no-param-reassign": 0,
"no-bitwise": 0,
"default-case": 0,
"no-return-assign": 0,
"no-plusplus": 0,
"no-empty": 0,
"operator-linebreak": 0,
"implicit-arrow-linebreak": 0,
"no-else-return": 0,
"no-continue": 0,
"no-multi-str": 0,
"prefer-template": 0,
"no-lonely-if": 0,
"consistent-return": 0,
"no-nested-ternary": 0,
"arrow-body-style": 0,
"no-case-declarations": 0,
"no-shadow": 0,
"no-restricted-syntax": 0,
"no-useless-escape": 0,
"no-throw-literal": 0,
"no-console": 1,
"no-labels": 0,
"no-use-before-define": ["error", { "variables": false }],
"max-len": [
"error",
{
"code": 140
}
]
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx", ".json"]
}
}
}
}