-
Notifications
You must be signed in to change notification settings - Fork 152
/
Copy path.eslintrc
41 lines (41 loc) · 963 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
41
{
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"browser": true
},
"rules": {
"comma-dangle": 0,
"global-require": 0,
"no-param-reassign": 0,
"new-cap": 0,
"no-eval": 0,
"no-plusplus": 0,
"no-return-assign": 0,
"no-underscore-dangle": 0,
"react/require-default-props": 0,
"no-multi-assign": 0,
"semi": ["error", "never"],
"one-var": 0,
"one-var-declaration-per-line": 0,
"space-before-function-paren": ["error", {
"anonymous": "always",
"named": "always",
"asyncArrow": "ignore"
}],
"jsx-quotes": ["error", "prefer-single"],
"react/jsx-first-prop-new-line": 0,
"react/forbid-prop-types": 0,
"jsx-a11y/no-static-element-interactions": 0
},
"settings": {
"import/resolver": "webpack"
},
"globals": {
"i18n": false,
"__PACKAGE_PORTS__": false,
"extension": false,
"__DEV__": false,
"__PACKAGE_SERVER__": false
}
}