-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
44 lines (44 loc) · 1.67 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
33
34
35
36
37
38
39
40
41
42
43
44
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"node": true,
"jest": true
},
"globals": {
"__BROWSER__": false,
"__APP_ENV__": false,
"__LOCAL__": false
},
"rules": {
"arrow-parens": ["error", "always"],
"arrow-body-style": ["off"],
"max-len": ["error", { "code": 350 }],
"react/prefer-stateless-function": ["off"],
"class-methods-use-this": ["off"],
"no-script-url": ["off"],
"consistent-return": ["off"],
"import/prefer-default-export": ["off"],
"function-paren-newline": ["error", "consistent"],
"comma-dangle": ["error", "never"],
"no-confusing-arrow": ["off"],
"no-console": ["off"],
"padded-blocks": ["off"],
"no-prototype-builtins": ["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"],
"import/no-named-default": ["off"],
"jsx-a11y/anchor-is-valid": ["off"],
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
"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"]
}
}