-
-
Notifications
You must be signed in to change notification settings - Fork 718
Labels
A-linterArea - LinterArea - Linter
Description
What version of Oxlint are you using?
1.18.0
What command did you run?
oxlint lint
What does your .oxlintrc.json config file look like?
No config
What happened?
Hello, starting oxlint 1.17.0 you can no longer run it in a deno task as it fails like this:
> deno run lint
Task lint oxlint lint
Error: no such flag: --ext, did you mean --init?
Repro
deno version: 2.5.2
package.json
{
"name": "app",
"version": "1.0.0",
"description": "",
"license": "MIT",
"author": "",
"type": "commonjs",
"main": "main.js",
"scripts": {
"lint": "oxlint lint"
},
"devDependencies": {
"oxlint": "1.18.0"
}
}main.js
var test = 4
var my_var = 'hello'
console.log(my_var)
docker run -it --rm -v $PWD:/code denoland/deno:2.5.2 bash
cd code
deno install
Change the oxlint version to 1.16.0 to see it working as expected.
I could not track this down to a specific change in 1.17.0 at first glance. I hope this helps, please let me know if you need more information.
Metadata
Metadata
Assignees
Labels
A-linterArea - LinterArea - Linter