Skip to content

Commit 62299a7

Browse files
committed
Update ESLint TypeScript configuration and add React plugins as peer dependencies
1 parent 428c6d4 commit 62299a7

File tree

3 files changed

+414
-2
lines changed

3 files changed

+414
-2
lines changed

packages/eslint-config/configs/typescript.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ module.exports = {
3636
jest: true
3737
}
3838
},
39-
files: [ '**/*.ts', '**/*.tsx', '**/*.cts', '**/*.mts'],
39+
files: ['**/*.{ts,tsx,mts,cts}'],
4040
}

packages/eslint-config/package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646
},
4747
"peerDependencies": {
4848
"eslint": "*",
49-
"typescript": "*"
49+
"typescript": "*",
50+
"eslint-plugin-react": "*",
51+
"eslint-plugin-react-hooks": "*"
5052
}
5153
}

0 commit comments

Comments
 (0)