Skip to content

Upgrade eslint to v10 #13230

@jjspace

Description

@jjspace

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesRelating to our package dependencies

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions