Skip to content

Commit

Permalink
chore(deps): add eslint-plugin-react and typescript-eslint dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kuizuo committed Jan 18, 2025
1 parent 44e6c13 commit f6813ca
Show file tree
Hide file tree
Showing 3 changed files with 1,070 additions and 8 deletions.
6 changes: 3 additions & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import stylistic from '@stylistic/eslint-plugin'
import reactPlugin from 'eslint-plugin-react'
import react from 'eslint-plugin-react'
import tailwind from 'eslint-plugin-tailwindcss'
import ts from 'typescript-eslint'

Expand All @@ -13,10 +13,10 @@ export default [
{
files: ['**/*.ts', '**/*.tsx'],
plugins: {
react: reactPlugin,
react: react,
},
rules: {
...reactPlugin.configs['jsx-runtime'].rules,
...react.configs['jsx-runtime'].rules,

'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-require-imports': 'off',
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@
"@tailwindcss/typography": "^0.5.16",
"@typescript-eslint/eslint-plugin": "8.20.0",
"eslint": "9.18.0",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-tailwindcss": "3.18.0",
"typescript": "~5.7.3"
"typescript": "~5.7.3",
"typescript-eslint": "^8.20.0"
},
"engines": {
"node": ">=20.0"
Expand Down
Loading

0 comments on commit f6813ca

Please sign in to comment.