oxc
oxc copied to clipboard
Allow setting cli flags via .oxlintrc.json
I want to set --deny correctness that I can set for the CLI but instead set that via the configuration file.
I see that I can tweak each rule one by one atomically, but I want to set the groups defaults, but without doing it in the CLI all the time.
I tried
{
"settings": {},
"rules": {
"correctness": "deny"
}
}
But that didnt work.
We currently do not support this. I will work on it once the config refactor stack is merged.
For reference I'm currently running
oxlint -c=./.oxlintrc.json --tsconfig=./tsconfig.json . -D correctness -D perf -D suspicious --promise-plugin --import-plugin
Because I don't think i can set these flags in the oxlintrc.json
how do you make those extra rules work in the VScode IDE via the oxc extension if they cannot be set via a config file?
Completed. categories is now supported, and plugins will be available in the next release