-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.eslintrc
46 lines (45 loc) · 1.06 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
{
"env": {
"browser": true,
"jest": true
},
"globals": {
"shallow": true,
"mount": true
},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"settings": {
"import/extensions": [".js", ".jsx", ".ts", ".tsx"]
},
"extends": [
"airbnb",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript"
],
"rules": {
"jsx-a11y/anchor-is-valid": "off",
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
"import/prefer-default-export": "off",
"lines-between-class-members": "off",
"react/prop-types": [0],
"react/destructuring-assignment": "off",
"react/static-property-placement": "off",
"react/jsx-filename-extension": [1, { "extensions": [".tsx", ".ts"] }],
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
}
}