fix: fix eslint errors and warnings

This commit is contained in:
Henry Li
2026-01-31 21:46:31 +08:00
parent 20a023ee90
commit 718bb947d0
5 changed files with 20 additions and 80 deletions

View File

@@ -7,7 +7,12 @@ const compat = new FlatCompat({
export default tseslint.config(
{
ignores: [".next", "src/components/ui/**", "src/components/ai-elements/**"],
ignores: [
".next",
"src/components/ui/**",
"src/components/ai-elements/**",
"*.js",
],
},
...compat.extends("next/core-web-vitals"),
{