From 949f463c6661e1f7c955c0b26a83070ad8dbbd21 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 2 Feb 2026 08:25:34 +0000 Subject: [PATCH 1/3] Initial plan From 7cb84054a67be0fb0afb05a2abe9a1a112824724 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 2 Feb 2026 08:27:54 +0000 Subject: [PATCH 2/3] Migrate ESLint config from v8 to v9 flat config format Co-authored-by: RetricSu <23436060+RetricSu@users.noreply.github.com> --- eslint.config.mjs | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 eslint.config.mjs diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..6290152 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,34 @@ +import typescriptEslint from '@typescript-eslint/eslint-plugin'; +import tsParser from '@typescript-eslint/parser'; + +export default [ + { + files: ['**/*.ts', '**/*.tsx'], + languageOptions: { + parser: tsParser, + parserOptions: { + ecmaVersion: 2018, + sourceType: 'module', + }, + }, + plugins: { + '@typescript-eslint': typescriptEslint, + }, + rules: { + ...typescriptEslint.configs.recommended.rules, + '@typescript-eslint/no-var-requires': 'off', + 'no-constant-condition': 'off', + '@typescript-eslint/no-explicit-any': 'warn', + '@typescript-eslint/no-unused-vars': [ + 'error', + { + argsIgnorePattern: '^_', + varsIgnorePattern: '^_', + }, + ], + }, + }, + { + ignores: ['node_modules/', 'build/', 'dist/', '*.js', '!eslint.config.mjs'], + }, +]; From 407d73c177193e01aec667457227b0cf20c9bf66 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 2 Feb 2026 08:30:24 +0000 Subject: [PATCH 3/3] Improve ESLint config ordering per best practices Co-authored-by: RetricSu <23436060+RetricSu@users.noreply.github.com> --- eslint.config.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 6290152..a7b0904 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -2,6 +2,9 @@ import typescriptEslint from '@typescript-eslint/eslint-plugin'; import tsParser from '@typescript-eslint/parser'; export default [ + { + ignores: ['node_modules/', 'build/', 'dist/', '*.js', '!eslint.config.mjs'], + }, { files: ['**/*.ts', '**/*.tsx'], languageOptions: { @@ -28,7 +31,4 @@ export default [ ], }, }, - { - ignores: ['node_modules/', 'build/', 'dist/', '*.js', '!eslint.config.mjs'], - }, ];