1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/tests/specs/lint/lint_fix/__test__.jsonc
David Sherret ffbcad3800
feat(lint): deno lint --fix and lsp quick fixes (#22615)
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.
2024-03-21 14:18:59 -07:00

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"
}]
}