mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-14 03:30:19 +00:00
🔧 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:
@@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -o pipefail
|
||||
|
||||
eslint src/ tests/ --fix --concurrency=auto --prune-suppressions
|
||||
eslint src/ tests/ --concurrency=auto
|
||||
Reference in New Issue
Block a user