mirror of
https://github.com/denoland/deno.git
synced 2024-11-27 16:10:57 -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.
20 lines
524 B
Text
20 lines
524 B
Text
error[ban-untagged-ignore]: Ignore directive requires lint rule name(s)
|
|
--> [WILDCARD]file1.js:1:1
|
|
|
|
|
1 | // deno-lint-ignore
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
= hint: Add one or more lint rule names. E.g. // deno-lint-ignore adjacent-overload-signatures
|
|
|
|
docs: https://lint.deno.land/rules/ban-untagged-ignore
|
|
|
|
|
|
error[no-empty]: Empty block statement
|
|
--> [WILDCARD]file1.js:2:15
|
|
|
|
|
2 | while (false) {}
|
|
| ^^
|
|
= hint: Add code or comment to the empty block
|
|
|
|
docs: https://lint.deno.land/rules/no-empty
|
|
|
|
|