forked from yareyaredesuyo/react-switch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
33 lines (33 loc) · 881 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
{
"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"
}
}