forked from locutusjs/locutus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
29 lines (29 loc) · 674 Bytes
/
Copy path.eslintrc
File metadata and controls
29 lines (29 loc) · 674 Bytes
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
{
"extends": "standard",
"rules": {
"max-len": [
"warn",
{
"code": 120,
"ignoreUrls": true,
"ignorePattern": "(^module\\.exports|.+\\.\\./info/ini_get.+|^ //\\s+_?(returns|example))"
}
],
"no-cond-assign": "warn",
"no-unreachable-loop": "warn",
"no-use-before-define": "warn",
"node/no-deprecated-api": "warn",
"valid-typeof": "warn",
"no-control-regex": "warn",
"no-mixed-operators": "warn",
"prefer-const": "warn",
"no-empty": "warn",
"no-prototype-builtins": "off",
"multiline-ternary": "off"
},
"env": {
"mocha": true,
"browser": true,
"node": true
}
}