File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
packages/eslint-config/src Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @repo/eslint-config ' : patch
3+ ---
4+
5+ chore: update import
Original file line number Diff line number Diff line change 11import tsEslintParser from '@typescript-eslint/parser'
22import eslintConfigPrettier from 'eslint-config-prettier'
33import react from 'eslint-plugin-react'
4- import * as reactHooks from 'eslint-plugin-react-hooks'
4+ import { configs as reactHooksConfigs } from 'eslint-plugin-react-hooks'
55
66import { defineConfig , getConfig } from './default.config'
77import { getTsconfigRootDir } from './helpers'
@@ -28,7 +28,7 @@ export function getReactConfig(importMetaUrl: string): Array<Linter.Config<Linte
2828 } ,
2929 } ,
3030 } ,
31- reactHooks . configs [ 'recommended-latest' ] ,
31+ reactHooksConfigs [ 'recommended-latest' ] ,
3232
3333 // Prettier (should be last to override other formatting rules)
3434 { rules : eslintConfigPrettier . rules } ,
You can’t perform that action at this time.
0 commit comments