-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
33 lines (33 loc) · 874 Bytes
/
.eslintrc.json
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
{
"env": {
"browser": false,
"es6": true,
"node": true
},
"extends": ["eslint:recommended", "standard"],
"rules": {
"indent": [ "warn", 2 ],
"linebreak-style": [ "warn", "unix" ],
"quotes": [ "warn", "single" ],
"semi": [ "warn", "never" ],
"no-console": "off",
"no-param-reassign": "warn",
"camelcase": "warn",
"comma-dangle": [ "warn", "never" ],
"comma-spacing": "warn",
"no-multi-spaces": "warn",
"no-multiple-empty-lines": "warn",
"no-trailing-spaces": "warn",
"no-useless-escape": "warn",
"no-useless-return": "warn",
"one-var": "warn",
"padded-blocks": "off",
"prefer-const": "warn",
"indent": "warn",
"operator-linebreak": "off",
"space-before-function-paren": "warn",
"spaced-comment": "warn",
"space-infix-ops": "warn",
"semi": ["warn", "never"]
}
}