forked from schuster-rainer/react
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
27 lines (27 loc) · 721 Bytes
/
.eslintrc
File metadata and controls
27 lines (27 loc) · 721 Bytes
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
{
"extends": ["airbnb", "react-app", "prettier", "prettier/react"],
"env": {
"browser": true,
"jest": true,
"node": true
},
"settings": {
"react": {
"pragma": "React",
"version": "16.6"
}
},
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js"] }],
"react/jsx-one-expression-per-line": [0],
"arrow-parens": [2, "always"],
"jsx-a11y/label-has-associated-control": [0],
"jsx-a11y/label-has-for": [0],
"jsx-a11y/href-no-hash": [0],
"import/prefer-default-export": [0],
"import/no-default-export": [2],
"react/jsx-props-no-spreading": [0],
"react/static-property-placement": [0],
"react/state-in-constructor": [0]
}
}