no declare vars with comma, one line only one statement

This commit is contained in:
LouisLam
2021-08-31 22:08:05 +08:00
parent fa549cb80e
commit a41534ca60
2 changed files with 17 additions and 14 deletions

View File

@@ -77,6 +77,8 @@ module.exports = {
"no-empty": ["error", {
"allowEmptyCatch": true
}],
"no-control-regex": "off"
"no-control-regex": "off",
"one-var": ["error", "never"],
"max-statements-per-line": ["error", { "max": 1 }]
},
}