-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
57 lines (48 loc) · 1.34 KB
/
.eslintrc.json
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
{
"$schema": "https://json.schemastore.org/eslintrc.json",
"env": {
"jest": true,
"browser": true,
"node": true
},
"extends": [
"eslint-config-airbnb-base"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ts"]
}
}
},
"plugins": [
"@typescript-eslint",
"prettier",
"jest"
],
"rules": {
"no-undef": "off",
"prefer-const": 1,
"no-await-in-loop": "off",
"prefer-destructuring": "off",
"indent": "off",
"@typescript-eslint/indent": ["error", 4],
"import/prefer-default-export": "off",
"max-len": "warn",
"import/extensions": ["error", "never"],
"no-underscore-dangle": "off",
"consistent-return": "off",
"camelcase": "warn",
"arrow-body-style": ["error", "always" ],
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error"],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error", { "vars": "all", "args": "after-used", "ignoreRestSiblings": true }],
"no-promise-executor-return": "off"
}
}