[eprh] Update plugin config to be compatible with flat and legacy (#34762)
This has been incredibly frustrating as [ESLint's own docs](https://eslint.org/docs/latest/extend/plugins#backwards-compatibility-for-legacy-configs) are clearly wrong (see #34679). This PR uses [eslint-plugin-react's setup](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/index.js) as a reference, where the presets are assigned to `configs.flat` (not documented by eslint).
L
lauren committed
848e0e3a4f12022d396ddbc2b52fd8fa7ac31fa9
Parent: 5c15c1c
Committed by GitHub <[email protected]>
on 10/7/2025, 8:23:56 PM