What version of Oxlint are you using?
0.15.6
What command did you run?
oxlint -c oxlint.config.jsonc test.ts
What does your .oxlint.json config file look like?
{
"$schema": "../../node_modules/oxlint/configuration_schema.json",
"plugins": ["unicorn"],
"env": {
"browser": true,
"es6": true,
},
"rules": {
"unicorn/switch-case-braces": ["error", "avoid"],
},
}
What happened?
With the eslint unicorn plugin, I can specify the "avoid" option, which allows me to use switch case braces only when necessary. It would be nice to have the unicorn rule options supported here, or at least document that they are not supported.
What version of Oxlint are you using?
0.15.6
What command did you run?
oxlint -c oxlint.config.jsonc test.ts
What does your
.oxlint.jsonconfig file look like?{
"$schema": "../../node_modules/oxlint/configuration_schema.json",
"plugins": ["unicorn"],
"env": {
"browser": true,
"es6": true,
},
"rules": {
"unicorn/switch-case-braces": ["error", "avoid"],
},
}
What happened?
With the eslint unicorn plugin, I can specify the "avoid" option, which allows me to use switch case braces only when necessary. It would be nice to have the unicorn rule options supported here, or at least document that they are not supported.