-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
39 lines (38 loc) · 1.02 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
{
"env": {
"browser": true
},
"settings": {
"import/resolver": {
"node": {
"moduleDirectory": [
"node_modules",
"src" // replace with your app-module-path directory
]
}
}
},
"parser": "babel-eslint",
"extends": ["airbnb", "prettier", "prettier/react"],
"plugins": ["prettier"],
"rules": {
"react/prop-types" : ["off"],
"react/jsx-props-no-spreading": ["off"],
"no-console": ["off"],
"no-underscore-dangle": ["off"],
"quotes": [2, "single", { "avoidEscape": true }],
"jsx-a11y/label-has-associated-control": [
"warn",
{
"labelComponents": [],
"labelAttributes": [],
"controlComponents": [],
"assert": "nesting"
}
],
"prettier/prettier": ["error", {
"singleQuote": true,
"tabWidth": 2
}]
}
}