Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESLint v9 Flat Configs #87

Open
2 tasks
DonIsaac opened this issue Aug 11, 2024 · 1 comment
Open
2 tasks

ESLint v9 Flat Configs #87

DonIsaac opened this issue Aug 11, 2024 · 1 comment
Assignees
Labels
A-linter Area - Linter enhancement New feature or request

Comments

@DonIsaac
Copy link

DonIsaac commented Aug 11, 2024

The community is asking for flat config support, so we need to add it. oxc-project/oxc#4720.

It looks like the most asked for approach is a migration step. Before we do this, there are several other config features we need to add.

I'd love to hear any feedback, comments, questions, or concerns.

Prerequisites

  • feat(linter): support glob-based path overrides
  • should we support extends as well?

Todo

  • feat(cli): add flat config migration command
@Boshen
Copy link
Member

Boshen commented Aug 11, 2024

Can we somehow hijack eslint and get the list of rules and configurations for us 🤔

I had this idea a long time ago: eslint/eslint#16557 (comment)

I want ESLint to give me a list of file paths and rule configurations, oxc will parse and lint the files in parallel and hand back all the necessary details for disable comments, code fixes and diagnostics reporting.

So eslint is kind of the "frontend" for configurations, and we (oxlint) take care of the rest.

(although we won't hand back data to eslint)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linter Area - Linter enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants