-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.js
26 lines (25 loc) · 845 Bytes
/
.eslintrc.js
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
module.exports = {
"extends": "airbnb",
"rules": {
"padded-blocks": 0,
"indent": [2, 4, {"SwitchCase": 1}],
"eol-last": 2,
"camelcase": 0,
"consistent-return": 0,
"linebreak-style": ["error", process.platform !== 'win32' ? "unix" : "windows" ],
"space-before-function-paren": [2, {"anonymous": "always", "named": "never"}],
"jsx-quotes": [2, "prefer-single"],
"no-use-before-define": 0,
"no-console": 0,
"no-unused-vars": [1, {"vars": "all", "args": "none", "varsIgnorePattern": "dispatch"}],
"no-redeclare": 1,
"curly": [2, "multi-line", "consistent"],
"new-cap": 1,
"dot-notation": 1,
"object-curly-spacing": [2, "always"],
"no-unused-expressions": 1
},
"ecmaFeatures": {
"experimentalObjecRestSpread": true
}
}