feat(basic): add max-statements-per-line (#129)

This commit is contained in:
曾明健
2022-11-17 01:25:16 +08:00
committed by GitHub
parent b53ffae83e
commit 65aec3f101

View File

@@ -285,6 +285,7 @@ module.exports = {
'require-await': 'off',
'no-return-assign': 'off',
'operator-linebreak': ['error', 'before'],
'max-statements-per-line': ['error', { 'max': 1 }],
// unicorns
// Pass error message when throwing errors