You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: