From 19dcd54be0cf51f3a57c98d8353759cc3fa9b665 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Wed, 30 Aug 2023 00:27:59 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=91=E2=80=8D=F0=9F=92=BB=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20rules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.eslintrc.yml b/.eslintrc.yml index 900d88e4..945dda0d 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -21,6 +21,8 @@ plugins: - vue - prettier rules: + # normal + array-callback-return: warn # TypeScript "@typescript-eslint/strict-boolean-expressions": off "@typescript-eslint/consistent-type-assertions": @@ -32,5 +34,6 @@ rules: format: ["camelCase", "UPPER_CASE", "PascalCase", "snake_case"] leadingUnderscore: "allow" trailingUnderscore: "allow" + "@typescript-eslint/no-non-null-assertion": warn # Vue "vue/multi-word-component-names": off