forked from Mirrors/doipjs
28 lines
651 B
Text
28 lines
651 B
Text
|
{
|
||
|
"extends": ["eslint:recommended", "plugin:node/recommended"],
|
||
|
"env": {
|
||
|
"browser": true
|
||
|
},
|
||
|
"rules": {
|
||
|
"node/no-deprecated-api": "off",
|
||
|
"no-console": "off",
|
||
|
"no-unused-vars": "off",
|
||
|
"no-empty": "off",
|
||
|
"node/no-unsupported-features/node-builtins": "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": {
|
||
|
"ActiveXObject": "readable"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|