-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
35 lines (35 loc) · 957 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
34
35
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": ["eslint:recommended", "standard"],
"rules": {
"indent": [ "error", 2 ],
"linebreak-style": [ "error", "unix" ],
"quotes": [ "error", "single" ],
"semi": [ "error", "never" ],
"no-console": "off",
"node/no-deprecated-api": "off",
"no-param-reassign": "warn",
"camelcase": "warn",
"comma-dangle": [ "error", "always-multiline" ],
"comma-spacing": "warn",
"no-multi-spaces": "warn",
"no-multiple-empty-lines": "warn",
"no-param-reassign": "off",
"no-trailing-spaces": "warn",
"no-useless-escape": "off",
"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"]
}
}