Skip to content

Commit 18e5b01

Browse files
committed
chore: update import
1 parent 7797ce2 commit 18e5b01

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/yellow-singers-glow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@repo/eslint-config': patch
3+
---
4+
5+
chore: update import

packages/eslint-config/src/react.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import tsEslintParser from '@typescript-eslint/parser'
22
import eslintConfigPrettier from 'eslint-config-prettier'
33
import 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

66
import { defineConfig, getConfig } from './default.config'
77
import { 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 },

0 commit comments

Comments
 (0)