-
Notifications
You must be signed in to change notification settings - Fork 100
/
.eslintrc
34 lines (34 loc) · 924 Bytes
/
.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
{
"env": {
"browser": true,
"es6": true,
"jest": true
},
"extends": ["airbnb", "prettier", "prettier/react"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"rules": {
"comma-dangle": ["warn", "never"],
"no-mixed-operators": "off",
"object-curly-newline": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/role-has-required-aria-props": "off",
"jsx-a11y/label-has-associated-control": [
2,
{ "controlComponents": ["Switch"] }
],
"jsx-a11y/label-has-for": "off",
"function-paren-newline": "off",
"react/require-default-props": "off",
"react/destructuring-assignment": "off",
"react/no-did-update-set-state": "off",
"import/extensions": "off",
"react/jsx-props-no-spreading": "off"
}
}