Replies: 1 comment
|
Good questions — there are two separate concepts here that are easy to conflate: plugin availability vs rule activation. 1. Built-in plugins vs
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm running oxlint with the following config:
{ "$schema": "./node_modules/oxlint/configuration_schema.json", "plugins": ["eslint", "unicorn", "typescript", "oxc", "import", "promise", "vitest"], "options": { "typeAware": true, "typeCheck": true } }Now I have two questions:
eslint
typescript
unicorn
oxc
So presumably, I do not need to add those to the
pluginsparameter. Is that correct? Are these defaults likely to change? Is it actually better documentation to be listing them explicitly, especially to safe-guard in case the default status of built-in plugins ever changes?no-newrule is implemented in the eslint built-in plugin, which is a default plugin. Why is it then, that I need to add:to my config in order to get the rule enabled? Shouldn't it be implicitly enabled if it belongs to a default plugin? Clearly, some rules are enabled by default, but seemingly others, that I would have thought should be enabled by default, aren't. I'd prefer to not have to maintain a massive list of rules in my oxlintrc config file.
All reactions