-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
47 lines (47 loc) · 1.02 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
{
"extends": [
"react-app",
"airbnb",
"plugin:jsx-a11y/recommended",
"prettier",
"prettier/react",
],
"plugins": ["jsx-a11y", "prettier"],
"rules": {
"import/no-cycle": 0,
"import/prefer-default-export": 0,
"react/prefer-stateless-function": 0,
"react/destructuring-assignment": 0,
"react/forbid-prop-types": [0, {
"forbid": ["any"]
}],
"react/prop-types": 0,
"react/state-in-constructor": 0,
"react/jsx-props-no-spreading": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"no-console": 1,
"no-nested-ternary": 0,
"no-redeclare": 0,
"no-shadow": 0,
"no-param-reassign": 0,
"no-underscore-dangle": 0,
"prettier/prettier": [
"warn",
{
"printWidth": 100,
"singleQuote": true,
"trailingComma": "es5"
}
],
},
"settings": {
"import/resolver": {
"node": {
"moduleDirectory": [
"node_modules",
"src/"
]
}
}
}
}