Skip to content

Commit c10aee7

Browse files
committed
build(eslint-plugin-react-hooks): add dev dependencies for typescript migration
Contributing to facebook#32240, this change adds the dev dependencies needed to support the migration of the plugin to typescript.
1 parent 829401d commit c10aee7

File tree

3 files changed

+520
-6
lines changed

3 files changed

+520
-6
lines changed

compiler/packages/eslint-plugin-react-compiler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@babel/preset-env": "^7.22.4",
2424
"@babel/preset-typescript": "^7.18.6",
2525
"@babel/types": "^7.19.0",
26-
"@types/eslint": "^8.56.6",
26+
"@types/eslint": "^8.56.12",
2727
"@types/node": "^20.2.5",
2828
"babel-jest": "^29.0.3",
2929
"eslint": "8.57.0",

packages/eslint-plugin-react-hooks/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,20 @@
3232
},
3333
"devDependencies": {
3434
"@babel/eslint-parser": "^7.11.4",
35+
"@tsconfig/strictest": "^2.0.5",
3536
"@typescript-eslint/parser-v2": "npm:@typescript-eslint/parser@^2.26.0",
3637
"@typescript-eslint/parser-v3": "npm:@typescript-eslint/parser@^3.10.0",
3738
"@typescript-eslint/parser-v4": "npm:@typescript-eslint/parser@^4.1.0",
3839
"@typescript-eslint/parser-v5": "npm:@typescript-eslint/parser@^5.62.0",
40+
"@types/eslint": "^8.56.12",
41+
"@types/estree": "^1.0.6",
42+
"@types/estree-jsx": "^1.0.5",
43+
"@types/node": "^20.2.5",
3944
"babel-eslint": "^10.0.3",
4045
"eslint-v7": "npm:eslint@^7.7.0",
41-
"eslint-v9": "npm:eslint@^9.0.0"
46+
"eslint-v9": "npm:eslint@^9.0.0",
47+
"jest": "^29.5.0",
48+
"tsup": "^8.3.5",
49+
"typescript": "^5.4.3"
4250
}
4351
}

0 commit comments

Comments
 (0)