🔧 chore: resolve all ESLint suppressions and remove suppression file (#12518)

* 🔧 chore: upgrade ESLint deps and resolve all suppressions

- Upgrade eslint 10.0.0→10.0.2, @lobehub/lint 2.1.3→2.1.5, eslint-plugin-mdx ^3.6.2→^3.7.0
- Remove eslint-suppressions.json and all suppression-related scripts/configs
- Fix 197 ESLint errors: no-console, no-unused-private-class-members, no-useless-assignment, preserve-caught-error, prefer-const, regex issues, etc.
- Remove dead rule references (sort-keys-fix, typescript-sort-keys, ban-types)
- Disable project-convention-conflicting rules globally in eslint.config.mjs
- Update test spies from console.log to console.info

* 🔧 fix: update regex for unresolved model error handling

- Modified the UNRESOLVED_MODEL_REGEXP to allow for additional valid characters in model names, enhancing error detection for missing models.

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2026-02-28 20:23:04 +08:00
committed by GitHub
parent 7d7af6b8ca
commit 3112036b38
299 changed files with 774 additions and 1712 deletions
-5
View File
@@ -1,5 +0,0 @@
#!/bin/bash
set -o pipefail
eslint src/ tests/ --fix --concurrency=auto --prune-suppressions
eslint src/ tests/ --concurrency=auto