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

linter: support extends in configuration files #6552

Open
Orenbek opened this issue Oct 14, 2024 · 2 comments
Open

linter: support extends in configuration files #6552

Orenbek opened this issue Oct 14, 2024 · 2 comments
Labels
A-linter Area - Linter C-enhancement Category - New feature or request

Comments

@Orenbek
Copy link

Orenbek commented Oct 14, 2024

is it possible for oxlint to support for extends settings in configuration file?
for instance:

{
"extends": ["plugin:react/recommended"]
}

why this is necessary? In order to migrate from an existing eslint configured project to oxlint, we wanna collect our existing eslint rules into a preset, so that our team could directly use it in their projects.

Originally posted by @Orenbek in #6548

@pumano
Copy link
Contributor

pumano commented Oct 14, 2024

As I test against latest code, extends not working, only:

{
  "plugins": ["react", "import"]
}

but I agree if oxlint is eslint compatible it should works with extends too

cc @DonIsaac

@DonIsaac
Copy link
Collaborator

DonIsaac commented Oct 14, 2024

Yup, this is a planned feature. There is unfortunately only one of me and I have a full-time job :) so I can only get to these so quickly

@DonIsaac DonIsaac added C-enhancement Category - New feature or request A-linter Area - Linter labels Oct 14, 2024
@DonIsaac DonIsaac changed the title is it possible for oxlint to support for extends settings in configuration file? linter: support extends in configuration files Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linter Area - Linter C-enhancement Category - New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants