mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2026-08-19 18:43:53 +08:00
16 lines
475 B
TypeScript
16 lines
475 B
TypeScript
import { defineConfig } from 'eslint/config'
|
|
import react from 'eslint-plugin-react'
|
|
import reactHooks from 'eslint-plugin-react-hooks'
|
|
import defaultConfig from '../../eslint.config.ts'
|
|
|
|
export default defineConfig([
|
|
defaultConfig,
|
|
{ ignores: ['dist/**', 'node_modules/**'] },
|
|
{
|
|
...react.configs.flat.recommended!,
|
|
settings: { react: { version: '19' } },
|
|
},
|
|
react.configs.flat['jsx-runtime']!,
|
|
reactHooks.configs.flat.recommended,
|
|
])
|