forked from ladjs/superagent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lib.eslintrc
37 lines (37 loc) · 885 Bytes
/
.lib.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
{
"extends": ["eslint:recommended", "plugin:node/recommended"],
"env": {
"browser": true
},
"rules": {
"node/no-unsupported-features/es-builtins": ["error", {
"version": ">=6.4.0",
"ignores": [
]
}],
"node/no-deprecated-api": "off",
"no-console": "off",
"no-unused-vars": "off",
"no-empty": "off",
"no-func-assign": "off",
"no-global-assign": ["error", {"exceptions": ["exports"]}],
"no-fallthrough": "off",
"no-constant-condition": "off",
"node/no-exports-assign": "off",
"no-unsafe-finally": "off"
},
"overrides": [
{
"files": [ "lib/client.js" ],
"globals": {
}
},
{
"files": [ "lib/node/http2wrapper.js" ],
"rules": {
"node/no-unsupported-features/es-builtins": "off",
"node/no-unsupported-features/node-builtins": "off"
}
}
]
}