-
Notifications
You must be signed in to change notification settings - Fork 47
/
.eslintrc
32 lines (32 loc) · 1.11 KB
/
.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
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"node": true,
"jest": true
},
"globals": {
"__BROWSER__": false,
"__PWA_ENV__": false,
"__LOCAL__": false
},
"rules": {
"arrow-parens": ["error", "always"],
"function-paren-newline": ["error", "consistent"],
"import/no-named-default": ["off"],
"no-confusing-arrow": ["off"],
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 0, "maxBOF": 0 }],
"no-underscore-dangle": ["off"],
"object-curly-newline": ["error", { "consistent": true }],
"prefer-promise-reject-errors": ["off"],
"jsx-a11y/anchor-is-valid": ["off"],
"jsx-a11y/click-events-have-key-events": ["off"],
"jsx-a11y/label-has-for": ["error", { "required": { "every": [ "id" ] }, "allowChildren": true }],
"jsx-a11y/no-noninteractive-element-interactions": ["off"],
"jsx-a11y/no-static-element-interactions": ["off"],
"react/forbid-prop-types": ["error", { "forbid": ["any"] }],
"react/jsx-filename-extension": ["error", { "extensions": [".js"] }],
"react/require-default-props": ["off"]
}
}