What version of Oxlint are you using?
latest
What command did you run?
No response
What does your .oxlintrc.json (or oxlint.config.ts) config file look like?
Not using a config file
What happened?
eslint/no-unused-vars reports a variable as unused if the variable is only used as a default parameter with either prefix increment, postfix increment, prefix decrement, or postfix decrement operators. Reproducing in the playground (commit b227a069a5ef302ed94bc06e8b0dd4cc2249f8d6) (playground link). Variables that use unary operators (e.g., unary negation or typeof) are correctly considered as used.
What version of Oxlint are you using?
latest
What command did you run?
No response
What does your
.oxlintrc.json(oroxlint.config.ts) config file look like?Not using a config file
What happened?
eslint/no-unused-varsreports a variable as unused if the variable is only used as a default parameter with either prefix increment, postfix increment, prefix decrement, or postfix decrement operators. Reproducing in the playground (commitb227a069a5ef302ed94bc06e8b0dd4cc2249f8d6) (playground link). Variables that use unary operators (e.g., unary negation ortypeof) are correctly considered as used.