-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
27 lines (27 loc) · 977 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
{
"extends": "airbnb",
"parserOptions": {
"ecmaVersion": 2021
},
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/prop-types": [2, { "skipUndeclared": true }],
"camelcase": [0, {"properties": "never"}],
"import/prefer-default-export": ["off"],
"react/jsx-props-no-spreading": ["off"],
"react/destructuring-assignment": ["off"],
"jsx-a11y/control-has-associated-label": ["off"],
"jsx-a11y/no-static-element-interactions": [0, {"handlers": ["onClick"]}],
"dot-notation": ["error", { "allowPattern": "^__*" }],
"jsx-a11y/media-has-caption": [0, {"video": ["Video"]}],
"jsx-a11y/mouse-events-have-key-events": "off",
"jsx-a11y/anchor-is-valid": [ "error", {
"components": [ "Link" ],
"specialLink": [ "to", "hrefLeft", "hrefRight" ],
"aspects": [ "noHref", "invalidHref", "preferButton" ]
}]
},
"env": {
"browser": true
}
}