forked from watson-developer-cloud/node-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
24 lines (24 loc) · 802 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module.exports = {
"env": {
"node": true,
},
"plugins": [
"node",
"prettier",
],
"extends": [
"eslint:recommended",
"google",
"plugin:node/recommended",
"prettier",
],
"rules": {
"prettier/prettier": ["error", {"singleQuote": true, "printWidth": 160}],
"prefer-const": "error",
"prefer-rest-params": "off", // https://github.com/mysticatea/eslint-plugin-node/issues/63
// The rest of these override rules that are enabled by one of the configs we extend but not compatible with current codebase
// todo: fix issues and then remove overrides here
"valid-jsdoc": "off", // too many issues; drowns out everything else
"camelcase": "off", // todo: determine if we should keep this off globally, or disable it on a per-line basis
}
};