Skip to content

Commit a84862d

Browse files
authored
[eslint] Target ES5 (#32420)
Update eslint-plugin-react-hooks to be built targetting ES5 instead. For various reasons our internal infra relies on these files being built already downleveled.
1 parent 86b1913 commit a84862d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
"extends": "@tsconfig/strictest/tsconfig.json",
33
"compilerOptions": {
44
"module": "ES2015",
5-
"target": "ES2015",
5+
"target": "ES5",
66
"moduleResolution": "Bundler",
77
"lib": ["ES2020"],
88
"rootDir": ".",
99
"sourceMap": false,
10-
"types": ["estree-jsx", "node"]
10+
"types": ["estree-jsx", "node"],
11+
"downlevelIteration": true
1112
},
1213
"exclude": ["node_modules"],
1314
"include": ["src/**/*.ts"]

0 commit comments

Comments
 (0)