* Upgrade ESLint and related configurations to version 9 - Update ESLint to version 9.19.0 - Migrate ESLint configurations to flat config format - Remove deprecated ESLint config files - Update package dependencies and configurations - Simplify ESLint setup across packages - Remove unnecessary ESLint config blocks from package.json files - Improved CI caching with Turborepo tasks - Removed duplicate styles
17 lines
342 B
JavaScript
17 lines
342 B
JavaScript
import { FlatCompat } from '@eslint/eslintrc';
|
|
|
|
const compat = new FlatCompat({
|
|
baseDirectory: import.meta.dirname,
|
|
});
|
|
|
|
const nextEslintConfig = [
|
|
...compat.config({
|
|
extends: ['next/core-web-vitals', 'next/typescript'],
|
|
rules: {
|
|
'@next/next/no-html-link-for-pages': 'off',
|
|
},
|
|
}),
|
|
];
|
|
|
|
export default nextEslintConfig;
|