-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
49 lines (49 loc) · 1.39 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
45
46
47
48
49
{
"extends": "airbnb",
"plugins": [
"babel"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 8
},
"env": {
"browser": true,
"jest": true,
"amd": true
},
"rules": {
"arrow-parens": ["error", "always"],
"arrow-body-style": [0],
"babel/semi": 1,
"indent": ["error", 2],
"function-paren-newline": [0],
"max-len": ["error", 300],
"newline-per-chained-call": [0],
"jsx-a11y/anchor-is-valid": [0],
"object-curly-newline": [0],
"no-template-curly-in-string": [0],
"no-param-reassign": ["error", { "props": false }],
"prefer-destructuring": [0],
"react/jsx-filename-extension": [1, { "extensions": [".js"] }],
"react/jsx-indent": [2, 2],
"react/jsx-indent-props": [2, 2],
"react/no-multi-comp": [0],
"react/jsx-no-bind": [0],
"react/no-string-refs": [0],
"react/prefer-stateless-function": [0],
"react/forbid-prop-types": [0],
"no-debugger": [1],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"**/*.test.js",
"**/*.spec.js",
"src/utils/testHelper.js"
]
}
],
"class-methods-use-this": [0]
}
}