forked from Meegul/GroupMeChatBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
44 lines (44 loc) · 1.42 KB
/
.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
36
37
38
39
40
41
42
43
44
{
"env": {
"browser": true,
"es6": true
},
"rules": {
"prefer-const": "error",
"no-const-assign": "error",
"no-new-object": "error",
"object-shorthand": "error",
"no-array-constructor": "error",
"array-callback-return": "error",
"prefer-template": "error",
"template-curly-spacing": "error",
"no-useless-escape": "error",
"wrap-iife": "error",
"quotes": ["error", "double"],
"no-loop-func": "error",
"prefer-rest-params": "error",
"no-new-func": "error",
"space-before-function-paren": ["error", "never"],
"space-before-blocks": "error",
"no-param-reassign": "error",
"prefer-arrow-callback": "error",
"arrow-spacing": "error",
"arrow-parens": "error",
"arrow-body-style": "error",
"no-useless-constructor": "error",
"no-dupe-class-members": "error",
"no-iterator": "error",
"no-restricted-syntax": "error",
"one-var": ["error", "never"],
"no-nested-ternary": "error",
"no-unneeded-ternary": "error",
"brace-style": "error",
"indent": "error",
"space-in-parens": "error",
"array-bracket-spacing": "error",
"object-curly-spacing": "error",
"max-len": ["error", 100],
"comma-style": ["error", "last"],
"semi": ["error", "always"]
}
}