Skip to content

eslint new config spec support #2699

Open

Description

@varunkumar

What is the correct way to use eslint-config-airbnb in the new config spec?

Activity

  1. ljharb commented on Dec 27, 2022

    @ljharb
    Collaborator

    I'm not sure if there is one yet. l We use 4 eslint plugins, and only 1 of the 4 (perhaps 2) have that support yet, so we couldn't even attempt it until then.

  2. varunkumar commented on Dec 29, 2022

    @varunkumar
    Author

    I have used the FlatCompat class to use the existing config.

  3. mdjermanovic commented on Jul 15, 2023

    @mdjermanovic

    @ljharb how would you prefer eslint-config-airbnb to provide support for the new config format - by updating the existing exports to the new format (breaking change, the new format cannot be used from eslintrc config files) or by adding new, separate exports?

  4. ljharb commented on Jul 15, 2023

    @ljharb
    Collaborator

    @mdjermanovic definitely not the breaking change. Can it support it yet tho if the dependent plugins don’t?

  5. alexeyr-ci commented on Dec 1, 2023

    @alexeyr-ci

    @ljharb The import plugin doesn't support it fully, but as far as I understand, including import/parsers in settings on your side as in import-js/eslint-plugin-import#2556 (comment) would resolve the main issue. import/no-unused-modules doesn't work, see the discussion here import-js/eslint-plugin-import#2829, but it is disabled in airbnb config anyway. Still, waiting until it figures out full support may be better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions