forked from msimerson/postfix-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
39 lines (39 loc) · 971 Bytes
/
.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
{
"env": {
"node": true
},
"rules": {
"brace-style": [2, "stroustrup", { "allowSingleLine": true }],
"consistent-return": 0,
"curly": [2, "multi-line"],
"eqeqeq": 2,
"indent": [2, 2, {"SwitchCase": 1}],
"max-len": [2, 80, 4, {
ignoreComments: true,
ignoreUrls: true,
ignorePattern: "\\/"
}
],
"no-multiple-empty-lines": 2,
"no-throw-literal": 2,
"no-underscore-dangle": 0,
"no-unused-vars": [2, {
"vars": "all",
"args": "none"
}],
"no-use-before-define": [2, "nofunc"],
"object-curly-spacing": [2, "always"],
"quote-props": [2, "as-needed"],
"quotes": [1, "single"],
"radix": 2,
"space-after-keywords": [2, "always"],
"space-before-blocks": [2, "always"],
"space-in-parens": [2, "never"],
"space-unary-ops": [2, {
"words": true,
"nonwords": false
}],
"strict": [2, "global"],
"wrap-iife": [2, "inside"]
}
}