From 65aec3f1011ec6e02049942490fce26ade18f9f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E6=98=8E=E5=81=A5?= Date: Thu, 17 Nov 2022 01:25:16 +0800 Subject: [PATCH] feat(basic): add `max-statements-per-line` (#129) --- packages/basic/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/basic/index.js b/packages/basic/index.js index dc7d662..268ed85 100644 --- a/packages/basic/index.js +++ b/packages/basic/index.js @@ -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