-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
33 lines (33 loc) · 881 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
{
"extends": [
"eslint:recommended"
],
"env": {
"browser": true,
"es6": true,
"mocha": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"impliedStrict": true,
"jsx": true,
"modules": true
},
"ecmaVersion": 7,
"sourceType": "module"
},
"rules": {
"consistent-this": [2, "self"],
"indent": ["error", 2, { "SwitchCase": 1 }],
"no-console": ["error", { allow: ["warn", "error"] }],
"no-debugger": "warn",
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 0, "maxBOF": 0 }],
"no-undef": "warn",
"no-unreachable": "warn",
"no-unused-vars": "warn",
"semi": ["warn", "never"]
}
}