mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-10-04 02:52:55 +08:00
- Added '.open-next/**', '.wrangler/**', and 'cloudflare-env.d.ts' to the ESLint configuration for improved linting coverage of new files and directories.
19 lines
416 B
JavaScript
19 lines
416 B
JavaScript
import { defineConfig, globalIgnores } from 'eslint/config';
|
|
import nextVitals from 'eslint-config-next/core-web-vitals';
|
|
|
|
const eslintConfig = defineConfig([
|
|
...nextVitals,
|
|
globalIgnores([
|
|
'.next/**',
|
|
'out/**',
|
|
'build/**',
|
|
'next-env.d.ts',
|
|
'.source/**',
|
|
'public/product-demo/**',
|
|
'.open-next/**',
|
|
'.wrangler/**',
|
|
'cloudflare-env.d.ts',
|
|
]),
|
|
]);
|
|
|
|
export default eslintConfig; |