add more linter warnings

This commit is contained in:
JFH
2021-05-14 23:28:12 +02:00
parent 1bad5b9037
commit 8b82f1b4d5
9 changed files with 29 additions and 23 deletions

View File

@@ -30,6 +30,14 @@ module.exports = {
"array-bracket-spacing": [ "error", "always" ],
"comma-spacing": "error",
"object-curly-spacing": [ "error", "always" ],
"valid-jsdoc": "warn",
"no-console": [
"warn",
{ "allow": [ "warn", "error", "info", "table" ] }
],
"no-param-reassign": [ "warn", { "props": false } ],
"max-len": [ "warn", { "code": 150 } ],
"arrow-parens": [ "error", "always" ],
},
overrides: [
{
@@ -41,9 +49,7 @@ module.exports = {
mocha: true,
node: true
},
globals: {
"assert": true
},
globals: { "assert": true },
rules: {
// with ci, instrumented is not created before linter
"import/no-unresolved": [ 2, { ignore: [ 'instrumented' ] } ],