[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:
lauren 2025-02-18 16:56:02 -05:00 committed by GitHub
parent 86b1913474
commit a84862dbdc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"]