What version of Oxlint are you using?
1.25.0
What command did you run?
oxlint -c .oxlintrc.json
What does your .oxlintrc.json config file look like?
What happened?
I have a button element like this, with an invalid type:
The diagnostic emitted says this:
Change the `type` attribute to one of the allowed values: `button`, `submit`, or `reset`.
But in my config I have disabled reset as a valid type, so it should only list button and submit.
See
|
.with_help("Change the `type` attribute to one of the allowed values: `button`, `submit`, or `reset`.") |
{ "plugins": ["react"], "rules": { "react/button-has-type": ["error", { "reset": false }] } }