forked from siimon/prom-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
62 lines (62 loc) · 1.06 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
57
58
59
60
61
62
{
"plugins": ["prettier"],
"env": {
"node": true
},
"parserOptions": {
"ecmaVersion": 2015
},
"rules": {
"no-underscore-dangle": [
0
],
"no-mixed-requires": [
0
],
"new-cap": [
0
],
"no-console": 2,
"no-debugger": 2,
"no-path-concat": 0,
"no-shadow": 1,
"no-array-constructor": 2,
"no-caller": 2,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-bind": 2,
"no-with": 2,
"no-loop-func": 2,
"no-multi-str": 2,
"no-new-func": 2,
"no-new-object": 2,
"no-return-assign": 2,
"no-sequences": 2,
"no-shadow-restricted-names": 2,
"no-unused-expressions": 2,
"no-unused-vars": 2,
"no-use-before-define": 0,
"no-new": 0,
"dot-notation": [
2,
{
"allowKeywords": true
}
],
"eqeqeq": 2,
"new-parens": 2,
"strict": [
2,
"global"
],
"yoda": 2,
"valid-jsdoc": 2,
"object-shorthand": 2,
"no-var": 2,
"prefer-const": 2,
"prefer-arrow-callback": 2,
"arrow-body-style": [2, "as-needed", { "requireReturnForObjectLiteral": true }],
"prefer-template": 2,
"prettier/prettier": [2, {"useTabs": true, "singleQuote": true}]
}
}