Skip to content

Commit

Permalink
Add React plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
billyjanitsch committed Dec 4, 2024
1 parent bc109ed commit 3c8fbba
Show file tree
Hide file tree
Showing 3 changed files with 514 additions and 6 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
import js from '@eslint/js'
import ts from 'typescript-eslint'
import prettier from 'eslint-config-prettier'
import react from '@eslint-react/eslint-plugin'
import query from '@tanstack/eslint-plugin-query'
import reactHooks from 'eslint-plugin-react-hooks'

export default ts.config(
js.configs.recommended,
...ts.configs.recommended,
...query.configs['flat/recommended'],
{
files: ['**/*.{ts,tsx}'],
...react.configs.recommended,
},
{
plugins: {
'react-hooks': reactHooks,
Expand Down
Loading

0 comments on commit 3c8fbba

Please sign in to comment.