-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
51 lines (51 loc) · 1.42 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
{
"extends": ["airbnb", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended", "prettier/@typescript-eslint"],
"env": {
"jest": true,
"browser": true,
"node": true,
"jasmine": true
},
"parser": "@typescript-eslint/parser",
"rules": {
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
],
"linebreak-style": 0,
"spaced-comment": 0,
"strict": 0,
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": 0,
"import/first": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/click-events-have-key-events": 0,
"no-use-before-define": 0,
"react/button-has-type": 0,
"react/no-array-index-key": 0,
"react/no-danger": 0,
"react/destructuring-assignment": 0,
"react/jsx-curly-newline": 0,
"react/jsx-filename-extension": [0, { "extensions": [".js", ".jsx"] }],
"react/jsx-one-expression-per-line": [0, { "allow": "single-child" }],
"react/jsx-props-no-spreading": 0,
"react/jsx-wrap-multilines": 0,
"@typescript-eslint/no-explicit-any": 0
},
"ignorePatterns": ["scripts/*.js"],
"settings": {
"import/resolver": {
"node": {
"paths": ["src"],
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}