-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
52 lines (52 loc) · 1.41 KB
/
Copy path.eslintrc
File metadata and controls
52 lines (52 loc) · 1.41 KB
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
50
51
52
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"max-len": ["error", 120],
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore",
"indent": [2, 2]
}],
"class-methods-use-this": ["off"],
"import/extensions": ["off", "never"],
"indent": [2, 2, {
"SwitchCase": 1
}],
"arrow-parens": ["off"],
"linebreak-style": ["off"],
"no-case-declarations": ["off"],
"no-console": ["off"],
"no-loop-func": ["off"],
"no-mixed-operators": ["off"],
"no-param-reassign": ["error", { "props": false }],
"no-plusplus": ["off"],
"no-underscore-dangle": ["off"],
"import/prefer-default-export": ["off"],
"react/no-array-index-key": ["off"],
"react/jsx-first-prop-new-line": ["off"],
"react/forbid-prop-types": ["off"],
"react/require-default-props": ["off"],
"jsx-a11y/no-static-element-interactions": ["off"],
"jsx-a11y/alt-text": ["off"],
"dot-notation": ["off"],
"import/no-extraneous-dependencies": ["off"],
"react/prefer-stateless-function": ["off"],
"no-lonely-if": ["off"]
},
"settings": {
"import/resolver": {
"webpack": {
"config": "webpack.config.js"
}
}
},
"env": {
"browser": true,
"node": true,
"jquery": true
}
}