Skip to content

Commit

Permalink
fix: update dependencies (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey authored Oct 14, 2024
1 parent ef13958 commit 12d0743
Show file tree
Hide file tree
Showing 3 changed files with 503 additions and 1,156 deletions.
5 changes: 1 addition & 4 deletions eslint.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { fixupPluginRules } from '@eslint/compat'
import globals from 'globals'

const ERROR = 'error'
Expand Down Expand Up @@ -96,9 +95,7 @@ export const config = [
? {
files: ['**/*.ts?(x)', '**/*.js?(x)'],
plugins: {
'react-hooks': fixupPluginRules(
await import('eslint-plugin-react-hooks'),
),
'react-hooks': (await import('eslint-plugin-react-hooks')).default,
},
rules: {
'react-hooks/rules-of-hooks': ERROR,
Expand Down
Loading

0 comments on commit 12d0743

Please sign in to comment.