This repository has been archived by the owner on Jun 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.js
58 lines (58 loc) · 2.1 KB
/
index.js
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
57
58
module.exports = {
"rules": {
"comma-dangle": "error",
"comma-spacing": "error",
"consistent-this": ["error", "self"],
"curly": "error",
"eqeqeq": "error",
"guard-for-in": "error",
"indent": ["error", 4, { "SwitchCase": 1 }],
"linebreak-style": ["error", "unix"],
"max-len": ["error", 120, 4, {"ignoreComments": true}],
"new-cap": ["error", {"capIsNew": false, "properties": false}],
"no-caller": "error",
"no-cond-assign": "error",
"no-console": "error",
"no-constant-condition": "error",
"no-debugger": "error",
"no-dupe-args": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-empty": ["error", {"allowEmptyCatch": true}],
"no-empty-character-class": "error",
"no-ex-assign": "error",
"no-extend-native": "error",
"no-extra-boolean-cast": "error",
"no-extra-semi": "error",
"no-func-assign": "error",
"no-inner-declarations": "error",
"no-invalid-regexp": "error",
"no-irregular-whitespace": "error",
"no-mixed-operators": "error",
"no-mixed-spaces-and-tabs": "error",
"no-multi-spaces": "error",
"no-native-reassign": "error",
"no-negated-in-lhs": "error",
"no-obj-calls": "error",
"no-regex-spaces": "error",
"no-sparse-arrays": "error",
"no-trailing-spaces": "error",
"no-undef": "error",
"no-unexpected-multiline": "error",
"no-unneeded-ternary": ["error", {"defaultAssignment": false }],
"no-unreachable": "error",
"no-unused-vars": ["error", {"vars": "local"}],
"no-useless-computed-key": "error",
"no-useless-rename": "error",
"radix": ["error", "always"],
"semi": ["error", "always"],
"space-before-function-paren": ["error", {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}],
"space-infix-ops": "error",
"use-isnan": "error",
"valid-typeof": "error"
}
};