From 1f4d2cbe24f0833eb2466c6f2b2be2a5020f26e2 Mon Sep 17 00:00:00 2001 From: yxxhero Date: Sun, 22 Dec 2024 08:52:06 +0800 Subject: [PATCH] fix lint issue Signed-off-by: yxxhero --- .eslintignore | 4 ---- .eslintrc.js | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 42ceb9a..0000000 --- a/.eslintignore +++ /dev/null @@ -1,4 +0,0 @@ -dist/ -lib/ -node_modules/ -jest.config.js diff --git a/.eslintrc.js b/.eslintrc.js index b20b0ad..7215640 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,5 +1,6 @@ // This is a reusable configuration file copied from https://github.com/actions/reusable-workflows/tree/main/reusable-configurations. Please don't make changes to this file as it's the subject of an automatic update. module.exports = { + ignorePatterns: ["dist/*", "lib/*", "node_modules/*", "jest.config.js"], extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/recommended', @@ -28,7 +29,7 @@ module.exports = { } ], 'no-control-regex': 'off', - 'no-constant-condition': ['error', {checkLoops: false}] + 'no-constant-condition': ['error', { checkLoops: false }] }, overrides: [ {