2,
{
"SwitchCase": 1,
+ "CallExpression": {
+ "arguments": 1
+ },
"FunctionDeclaration": {
- "parameters": 2
+ "parameters": 2,
+ "body": 1
},
"FunctionExpression": {
- "parameters": 2
+ "parameters": 2,
+ "body": 1
}
}
],
"error",
"single"
]
- }
+ },
+ "overrides": [
+ {
+ "files": [
+ "*.js"
+ ],
+ "extends": "plugin:node/recommended",
+ "rules": {
+ "node/shebang": "off",
+ "@typescript-eslint/no-unused-vars": "off",
+ "@typescript-eslint/no-var-requires": "off"
+ }
+ }
+ ]
}