mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
[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.
This commit is contained in:
parent
86b1913474
commit
a84862dbdc
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user