What version of Oxlint are you using?
0.15.6
What command did you run?
oxlint -c oxlint.config.jsonc --fix test.ts
What does your .oxlint.json config file look like?
What happened?
Given this source code:
Running oxlint with --fix produces this:
const alpha = 7
let beta = ''
let gamma = 0
switch (alpha) {
case 1: {beta = 'one'gamma = 1break}
}
Which is of course disastrously wrong. unicorn has no problem fixing this same file.
What version of Oxlint are you using?
0.15.6
What command did you run?
oxlint -c oxlint.config.jsonc --fix test.ts
What does your
.oxlint.jsonconfig file look like?What happened?
Given this source code:
Running oxlint with --fix produces this:
Which is of course disastrously wrong. unicorn has no problem fixing this same file.