mirror of
https://github.com/spliit-app/spliit.git
synced 2026-02-06 07:36:13 +01:00
All checks were successful
CI / checks (push) Successful in 1m7s
Migrate to latest versions of Next.js, React, Radix, etc.
22 lines
473 B
JavaScript
22 lines
473 B
JavaScript
import nextVitals from 'eslint-config-next/core-web-vitals'
|
|
import { defineConfig, globalIgnores } from 'eslint/config'
|
|
|
|
const eslintConfig = defineConfig([
|
|
...nextVitals,
|
|
// Override default ignores of eslint-config-next.
|
|
globalIgnores([
|
|
// Default ignores of eslint-config-next:
|
|
'.next/**',
|
|
'out/**',
|
|
'build/**',
|
|
'next-env.d.ts',
|
|
]),
|
|
{
|
|
rules: {
|
|
'react-hooks/set-state-in-effect': 'off',
|
|
},
|
|
},
|
|
])
|
|
|
|
export default eslintConfig
|