Skip to content

Commit

Permalink
Update ESLint TypeScript configuration and add React plugins as peer …
Browse files Browse the repository at this point in the history
…dependencies
  • Loading branch information
1aron committed Nov 27, 2024
1 parent 428c6d4 commit 62299a7
Show file tree
Hide file tree
Showing 3 changed files with 414 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/eslint-config/configs/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ module.exports = {
jest: true
}
},
files: [ '**/*.ts', '**/*.tsx', '**/*.cts', '**/*.mts'],
files: ['**/*.{ts,tsx,mts,cts}'],
}
4 changes: 3 additions & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
},
"peerDependencies": {
"eslint": "*",
"typescript": "*"
"typescript": "*",
"eslint-plugin-react": "*",
"eslint-plugin-react-hooks": "*"
}
}
Loading

0 comments on commit 62299a7

Please sign in to comment.