-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
41 lines (41 loc) · 904 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
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"eslint:recommended",
"airbnb"
],
"globals": {},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"rules": {
"arrow-body-style": ["error", "as-needed"],
"class-methods-use-this": "off",
"function-paren-newline": "off",
"global-require": "off",
"import/extensions": "off",
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": "off",
"import/prefer-default-export": "off",
"linebreak-style": "off",
"max-len": ["warn", 100],
"no-debugger": "warn",
"no-restricted-syntax": "warn",
"no-use-before-define": [
"error",
{
"functions": false,
"classes": true
}
],
"react/forbid-prop-types": "warn",
"strict": 0
}
}