-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
42 lines (42 loc) · 1.26 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
{
"parser": "babel-eslint",
"extends": [
"airbnb"
],
"env": {
"browser": true,
"node": true
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ios.js", ".android.js"]
}
}
},
"globals": {
"__DEV__": false,
"GLOBAL": false
},
"rules": {
"arrow-parens": ["error", "always"],
"function-paren-newline": ["error", "consistent"],
"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"],
"import/no-named-default": ["off"],
"import/prefer-default-export": ["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/jsx-filename-extension": ["error", { "extensions": [".js"] }],
"no-use-before-define": ["error", { "variables": false }],
"react/prop-types": 0,
"no-alert": 0,
"no-console": 0
}
}