Skip to content
Source
Sign inSign up
TanStack/form
Open History to see the last commit

eslint.config.mjs

18 lines460 Bytes

1import { defineConfig, globalIgnores } from 'eslint/config'
2import nextVitals from 'eslint-config-next/core-web-vitals'
3import nextTs from 'eslint-config-next/typescript'
4​
5const eslintConfig = defineConfig([
6 ...nextVitals,
7 ...nextTs,
8 // Override default ignores of eslint-config-next.
9 globalIgnores([
10 // Default ignores of eslint-config-next:
11 '.next/**',
12 'out/**',
13 'build/**',
14 'next-env.d.ts',
15 ]),
16])
17​
18export default eslintConfig