-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
56 lines (56 loc) · 1.64 KB
/
.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"env": {
"browser": true,
"meteor": false,
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2017,
"ecmaFeatures": {
"templateStrings": true
},
"sourceType": "module"
},
"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, "ignoreTemplateLiterals": true, "ignoreStrings": 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": 0,
"no-unused-vars": [2, {"vars": "local", "args": "none"}],
"no-else-return": 2,
"space-unary-ops": [2, {"words": true, "nonwords": false}],
"linebreak-style": [2, "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": 2
// "no-param-reassign": 2,
//"indent": [2, 4]
},
"globals": {
},
"plugins": [
"log-filenames"
]
}