fix: resolve linting errors and improve ESLint configuration

- Downgrade ESLint to v9 to avoid circular structure errors in v10 config validation
- Downgrade eslint-config-next to v15 for stability
- Configure eslint.config.mjs with FlatCompat and appropriate ignores (.next, out)
- Escape entities in ColorBlindPage and SearchUnits to fix react/no-unescaped-entities
- Use useMemo for debounced function in FigletConverter to fix react-hooks/exhaustive-deps
This commit is contained in:
2026-02-23 02:31:49 +01:00
parent a9d0fd8443
commit d2dcd2ca9f
7 changed files with 274 additions and 438 deletions

View File

@@ -10,6 +10,9 @@ const compat = new FlatCompat({
});
const eslintConfig = [
{
ignores: [".next/**", "out/**", "node_modules/**"],
},
...compat.extends("next/core-web-vitals"),
];