fix(web): adapt build tooling

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-05-18 20:55:59 +09:00
parent 92a5a44218
commit 9a9d9bd5a1
4 changed files with 14 additions and 6 deletions
+12 -1
View File
@@ -3,6 +3,17 @@ import nextPlugin from "@next/eslint-plugin-next"
import prettier from "eslint-config-prettier/flat"
import tseslint from "typescript-eslint"
const nextCoreWebVitalsConfig = {
name: "next/core-web-vitals",
plugins: {
"@next/next": nextPlugin,
},
rules: {
...nextPlugin.configs.recommended.rules,
...nextPlugin.configs["core-web-vitals"].rules,
},
}
export default [
{
ignores: [".next/**", "out/**", "build/**", "next-env.d.ts"],
@@ -18,7 +29,7 @@ export default [
},
},
},
nextPlugin.flatConfig.coreWebVitals,
nextCoreWebVitalsConfig,
...tseslint.configs.recommended,
prettier,
{