From fbe6b318788a96b46ecba23402a013092dd2e81f Mon Sep 17 00:00:00 2001 From: Hazelnoot Date: Wed, 16 Oct 2024 10:30:38 -0400 Subject: [PATCH] fix eslint errors in all projects due to over-including files --- packages/backend/eslint.config.js | 10 ++++++++++ packages/frontend-embed/eslint.config.js | 9 +++++++++ packages/frontend-shared/eslint.config.js | 9 +++++++++ packages/frontend/eslint.config.js | 11 +++++++++++ packages/misskey-bubble-game/eslint.config.js | 9 +++++++++ packages/misskey-js/eslint.config.js | 9 +++++++++ 6 files changed, 57 insertions(+) diff --git a/packages/backend/eslint.config.js b/packages/backend/eslint.config.js index 75ccce7b3d..452045bc3e 100644 --- a/packages/backend/eslint.config.js +++ b/packages/backend/eslint.config.js @@ -55,4 +55,14 @@ export default [ }, }, }, + { + ignores: [ + "**/lib/", + "**/temp/", + "**/built/", + "**/coverage/", + "**/node_modules/", + "**/migration/", + ] + }, ]; diff --git a/packages/frontend-embed/eslint.config.js b/packages/frontend-embed/eslint.config.js index e138d51d94..2d617b3ade 100644 --- a/packages/frontend-embed/eslint.config.js +++ b/packages/frontend-embed/eslint.config.js @@ -92,4 +92,13 @@ export default [ 'vue/attribute-hyphenation': ['error', 'never'], }, }, + { + ignores: [ + "**/lib/", + "**/temp/", + "**/built/", + "**/coverage/", + "**/node_modules/", + ] + }, ]; diff --git a/packages/frontend-shared/eslint.config.js b/packages/frontend-shared/eslint.config.js index cd4641a270..689f7870c0 100644 --- a/packages/frontend-shared/eslint.config.js +++ b/packages/frontend-shared/eslint.config.js @@ -97,4 +97,13 @@ export default [ 'vue/attribute-hyphenation': ['error', 'never'], }, }, + { + ignores: [ + "**/lib/", + "**/temp/", + "**/built/", + "**/coverage/", + "**/node_modules/", + ] + }, ]; diff --git a/packages/frontend/eslint.config.js b/packages/frontend/eslint.config.js index e138d51d94..28796e8d6b 100644 --- a/packages/frontend/eslint.config.js +++ b/packages/frontend/eslint.config.js @@ -92,4 +92,15 @@ export default [ 'vue/attribute-hyphenation': ['error', 'never'], }, }, + { + ignores: [ + "**/lib/", + "**/temp/", + "**/built/", + "**/coverage/", + "**/node_modules/", + "**/libopenmpt/", + "**/storybook-static/" + ] + }, ]; diff --git a/packages/misskey-bubble-game/eslint.config.js b/packages/misskey-bubble-game/eslint.config.js index bce383b1a6..749971a72b 100644 --- a/packages/misskey-bubble-game/eslint.config.js +++ b/packages/misskey-bubble-game/eslint.config.js @@ -25,4 +25,13 @@ export default [ }, }, }, + { + ignores: [ + "**/lib/", + "**/temp/", + "**/built/", + "**/coverage/", + "**/node_modules/", + ] + }, ]; diff --git a/packages/misskey-js/eslint.config.js b/packages/misskey-js/eslint.config.js index d8173f30e9..f33c4c4d25 100644 --- a/packages/misskey-js/eslint.config.js +++ b/packages/misskey-js/eslint.config.js @@ -26,4 +26,13 @@ export default [ }, }, }, + { + ignores: [ + "**/lib/", + "**/temp/", + "**/built/", + "**/coverage/", + "**/node_modules/", + ] + }, ];