-
Notifications
You must be signed in to change notification settings - Fork 160
/
.eslintrc
69 lines (69 loc) · 1.37 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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020
},
"extends": ["airbnb-base", "plugin:import/errors", "plugin:import/warnings", "prettier"],
"env": {
"es2020": true,
"node": true,
"mocha": true
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ts"]
}
}
},
"rules": {
"max-len": 0,
"react/display-name": 0,
"class-methods-use-this": 0,
"comma-dangle": 0,
"eol-last": 2,
"indent": [
2,
2,
{
"SwitchCase": 1
}
],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
],
"import/no-dynamic-require": 0,
"prefer-arrow-callback": 0,
"object-shorthand": 0,
"prefer-template": 0,
"func-names": 0,
"new-cap": 0,
"no-await-in-loop": 0,
"no-param-reassign": 0,
"no-multiple-empty-lines": 2,
"no-plusplus": [
"error",
{
"allowForLoopAfterthoughts": true
}
],
"no-unused-vars": 2,
"no-var": 0,
"object-curly-spacing": [2, "always"],
"quotes": [2, "single", "avoid-escape"],
"semi": [2, "always"],
"strict": 0,
"space-before-blocks": [2, "always"],
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"ts": "never"
}
]
}
}