-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
executable file
·34 lines (34 loc) · 932 Bytes
/
.eslintrc
File metadata and controls
executable file
·34 lines (34 loc) · 932 Bytes
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
{
"extends": "airbnb",
"rules": {
"indent": ["error", 4, { "SwitchCase": 1 }],
"react/jsx-indent": ["error", 4],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/prefer-stateless-function": [0],
"react/prop-types": [0],
"global-require": "off",
"object-shorthand": ["error", "never"],
"import/prefer-default-export": "off",
"no-plusplus": "off",
"no-continue": "off",
"arrow-body-style": "off",
"react/jsx-no-bind": "off",
"class-methods-use-this": "off",
"no-nested-ternary": "off",
"no-restricted-syntax": "off",
"no-prototype-builtins": "off",
"prefer-spread": "off",
"consistent-return": "off",
"newline-per-chained-call": "off",
"no-mixed-operators": "off"
},
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
}
}