From cfbf9db40ffe46d74cb5fbecf64467c9513cba73 Mon Sep 17 00:00:00 2001 From: Saul Lee Date: Sat, 9 Nov 2024 20:40:55 +0900 Subject: [PATCH 1/3] chore: ignore `combinate` spell check lint warning --- packages/eslint-plugin-query/eslint.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/eslint-plugin-query/eslint.config.js b/packages/eslint-plugin-query/eslint.config.js index b3c65a3dce..88678288c9 100644 --- a/packages/eslint-plugin-query/eslint.config.js +++ b/packages/eslint-plugin-query/eslint.config.js @@ -14,6 +14,12 @@ export default [ assertFunctionNames: ['expect', 'expectArrayEqualIgnoreOrder'], }, ], + 'cspell/spell-checker': [ + 'warn', + { + ignoreWords: ['combinate'], + }, + ], }, }, ] From 599a1345619a85a6dc574e648acf112a22c4e465 Mon Sep 17 00:00:00 2001 From: Saul Lee Date: Sat, 9 Nov 2024 20:49:58 +0900 Subject: [PATCH 2/3] fix typo --- packages/eslint-plugin-query/eslint.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-plugin-query/eslint.config.js b/packages/eslint-plugin-query/eslint.config.js index 88678288c9..2c00e4f70b 100644 --- a/packages/eslint-plugin-query/eslint.config.js +++ b/packages/eslint-plugin-query/eslint.config.js @@ -14,7 +14,7 @@ export default [ assertFunctionNames: ['expect', 'expectArrayEqualIgnoreOrder'], }, ], - 'cspell/spell-checker': [ + 'cspell/spellchecker': [ 'warn', { ignoreWords: ['combinate'], From a45ab1e0c3bcd20fda0e784150a911c9bd59e91b Mon Sep 17 00:00:00 2001 From: Saul Lee Date: Sat, 9 Nov 2024 21:10:53 +0900 Subject: [PATCH 3/3] chore: apply to root eslint config instead of just `eslint-plugin-query` --- eslint.config.js | 1 + packages/eslint-plugin-query/eslint.config.js | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index acd5e892a3..d8a5458377 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -19,6 +19,7 @@ export default [ cspell: { words: [ 'codemod', // We support our codemod + 'combinate', // Library name 'extralight', // Our public interface 'jscodeshift', 'Promisable', // Our public interface diff --git a/packages/eslint-plugin-query/eslint.config.js b/packages/eslint-plugin-query/eslint.config.js index 2c00e4f70b..b3c65a3dce 100644 --- a/packages/eslint-plugin-query/eslint.config.js +++ b/packages/eslint-plugin-query/eslint.config.js @@ -14,12 +14,6 @@ export default [ assertFunctionNames: ['expect', 'expectArrayEqualIgnoreOrder'], }, ], - 'cspell/spellchecker': [ - 'warn', - { - ignoreWords: ['combinate'], - }, - ], }, }, ]