mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
ffbcad3800
Adds a `--fix` option to deno lint. This currently doesn't work for basically any rules, but we can add them over time to deno lint.
17 lines
424 B
Text
17 lines
424 B
Text
{
|
|
"tempDir": true,
|
|
"steps": [{
|
|
"args": "lint --rules-tags=recommended,jsr",
|
|
"output": "lint.out",
|
|
"exitCode": 1
|
|
}, {
|
|
"args": "lint --fix --rules-tags=recommended,jsr",
|
|
"output": "lint_fixed.out"
|
|
}, {
|
|
"args": "lint --rules-tags=recommended,jsr",
|
|
"output": "lint_fixed.out"
|
|
}, {
|
|
"args": "run --allow-read --quiet http://localhost:4545/cat.ts a.ts",
|
|
"output": "a_fixed.out"
|
|
}]
|
|
}
|