-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
56 lines (56 loc) · 1.21 KB
/
Copy path.eslintrc.json
File metadata and controls
56 lines (56 loc) · 1.21 KB
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
{
"env": {
"node": true,
"es6": true
},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"airbnb-base"
],
"overrides": [
{
"files": [
"*.ts",
"*.tsx"
],
"extends": [
"airbnb-base",
"airbnb-typescript/base"
],
"parserOptions": {
"project": [
"./tsconfig.json"
]
},
"rules": {
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-shadow": "off",
"import/prefer-default-export": "off",
"class-methods-use-this": "off",
"no-underscore-dangle": "off",
"no-param-reassign": "off",
"no-bitwise": "off",
"no-plusplus": "off",
"no-await-in-loop": "off",
"no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"]
}
}
],
"rules": {
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
],
"no-console": "off",
"import/no-unresolved": "off",
"import/prefer-default-export": "off",
"max-len": "off",
"no-shadow": "off",
"no-param-reassign": "off"
}
}