Skip to content

Update eslint to support newer versions #4

@paulochang

Description

@paulochang

Some time ago, eslint started pushing to use a new "flat config" format.
More info here:
https://eslint.org/blog/2022/08/new-config-system-part-1/
https://eslint.org/blog/2022/08/new-config-system-part-2/

We should (probably?) update our configuration to support the new format, either by maintaining a new version of the configuration files in the new format or just replacing it altogether.

A migration guide can be found here.
https://eslint.org/docs/latest/use/configure/migration-guide

And there's apparently a migration tool available here:
https://www.npmjs.com/package/@eslint/migrate-config

Alternatively, we can add a note stating that whenever newer versions are used, our users should set the ESLINT_USE_FLAT_CONFIG environment variable to false (see https://eslint.org/docs/latest/use/configure/configuration-files-deprecated)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions