-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Description
ESLint v10 was recently released. They have a nice doc for migration here: https://eslint.org/docs/latest/use/migrate-to-10.0.0
Most notably for us they added new defaults for the recommended eslint/js rules which is used "upstream" in our cesium-eslint-config
Three new rules have been enabled in
eslint:recommended:
Turning these on surfaces 680+ errors in CesiumJS. I took a cursory glance at a handful of them and I do think these are rules we want turned on but it will be a large tedious PR to turn on.
I've opened a preliminary config update for when someone is ready to tackle this: CesiumGS/eslint-config-cesium#11
Regardless of the rule changes the eslint-plugin-react-hooks that we use for Sandcastle files is not compatible with v10 yet anyway: facebook/react#35758