-
Notifications
You must be signed in to change notification settings - Fork 9
/
.eslint-common.json
42 lines (42 loc) · 1.38 KB
/
.eslint-common.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
36
37
38
39
40
41
42
{
"extends": "eslint:recommended",
"rules": {
"eqeqeq": 2,
"curly": [2, "all"],
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"comma-dangle": ["error", "never"],
"max-len": [2, {"code": 145, "ignoreRegExpLiterals": true, "ignoreComments": true}],
"quotes": [2, "single"],
"no-mixed-spaces-and-tabs": [2],
"no-multi-assign": 2,
"no-whitespace-before-property": 2,
"no-alert": 2,
"no-eval": 2,
"no-trailing-spaces": 0,
"no-unused-expressions": 0,
"no-tabs": 2,
"no-console": 2,
"no-unused-vars": [2, {"vars": "local", "args": "none"}],
"no-param-reassign": 2,
"no-else-return": 2,
"space-unary-ops": [2, {"words": true, "nonwords": false}],
"linebreak-style": [0, "unix"],
"semi": [2, "always"],
"no-cond-assign": [2, "always"],
"no-lonely-if": 2,
"array-bracket-spacing": [2, "never"],
"camelcase": [2, {"properties": "always"}],
"object-curly-spacing": [2, "never"],
"eol-last": 0,
"no-path-concat": 2,
"radix": 2,
"wrap-iife": [2, "inside"],
"yoda": [2, "never"],
"no-implicit-globals": 0,
"no-redeclare": [2, {"builtinGlobals": false}],
"no-prototype-builtins": 0
},
"plugins": [
"log-filenames"
]
}