Skip to content

Commit

Permalink
[eslint] Target ES5 (#32420)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
poteto authored Feb 18, 2025
1 parent 86b1913 commit a84862d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/eslint-plugin-react-hooks/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
"extends": "@tsconfig/strictest/tsconfig.json",
"compilerOptions": {
"module": "ES2015",
"target": "ES2015",
"target": "ES5",
"moduleResolution": "Bundler",
"lib": ["ES2020"],
"rootDir": ".",
"sourceMap": false,
"types": ["estree-jsx", "node"]
"types": ["estree-jsx", "node"],
"downlevelIteration": true
},
"exclude": ["node_modules"],
"include": ["src/**/*.ts"]
Expand Down

0 comments on commit a84862d

Please sign in to comment.