forked from lstkz/react-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
40 lines (40 loc) · 823 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
34
35
36
37
38
39
40
{
"parser": "babel-eslint",
"extends": [
"airbnb"
],
"plugins": [
"babel"
],
"env": {
"browser": true,
"mocha": true
},
"globals": {
"expect": true,
"__DEV__": true,
"__PROD__": true,
},
"rules": {
"global-require": 0,
"no-script-url": 0,
"max-len": 0,
"new-cap": 0,
"react/jsx-no-bind": 0,
"no-mixed-operators": 0,
"arrow-parens": [
2,
"always"
],
"import/extensions": 0,
"import/no-unresolved": 0,
"import/no-named-as-default": 0,
"import/no-extraneous-dependencies": 0,
"no-underscore-dangle": 0,
"react/forbid-prop-types": 0,
"no-unused-expressions": 0,
"jsx-a11y/anchor-has-content": 0,
"no-plusplus": 0,
"no-use-before-define": ["error", { "functions": false, "classes": true }]
}
}