Replies: 9 comments 5 replies
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I've inadvertently opened issue #4776 which is relevant to this discussion - ideally, I think the Oxlint config should be written in a format that is extendable. I would argue that a JS-based config file (e.g. I think that a script to migrate ESLint config to Oxlint config (whatever format this ends up as) would be preferred. I'd like to use Oxlint and ESLint in combination, where ESLint will continue to check unsupported rules by using |
Beta Was this translation helpful? Give feedback.
-
Another relevant issue: #3217 |
Beta Was this translation helpful? Give feedback.
-
Relevant oxlint support ESLint v9, I think we do not need do this feature. I am migrating ESLint v8 to v9 then I am so struggling but when I migrate ESLint v8 to oxlint, I feel so happy (expect oxc extension, I have a question at here. |
Beta Was this translation helpful? Give feedback.
-
I think there should be support for both eslint configs, for me - I'm stuck with eslint 8, cos frameworks require eslint 8, and slow to upgrate. I have PRs prepared to enable eslint 9, then vite will support eslint 9, and cloudflare workers will support eslimt 9. |
Beta Was this translation helpful? Give feedback.
-
For the most widespread adoption, oxlint should be as close to a drop-in replacement for ESLint as possible. This means we should support their config files in all of their flavors. This RFC is to start a conversation on if/how we should approach this.
We already support (most)
.eslintrc.json
configs, so this is focusing on JS configsPossible Approaches
There's a few different ways we could tackle this:
e.g. oxlint migrate -c eslint.config.json
) that performs step 1 and saves the output to an oxlint-compatible file. This cuts down on overhead, but adds extra work for the end userOpen Questions:
oxlintrc.json
files be extendable?Beta Was this translation helpful? Give feedback.
All reactions