mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04:00
d93570a619
This commit adds support for following flags in deno lint subcommand: --config - allows to load configuration file and parses "lint" object --rules-tags=<tags> - allows specifying which set of tagged rules should be run --rules-include=<rules> - allow specifying which rules should be run --rules-exclude=<rules> - allow specifying which rules should not be run
18 lines
626 B
Text
18 lines
626 B
Text
(ban-untagged-todo) TODO should be tagged with (@username) or (#issue)
|
|
// TODO: foo
|
|
^^^^^^^^^^^^
|
|
at [WILDCARD]a.ts:1:0
|
|
|
|
hint: Add a user tag or issue reference to the TODO comment, e.g. TODO(@djones), TODO(djones), TODO(#123)
|
|
help: for further information visit https://lint.deno.land/#ban-untagged-todo
|
|
|
|
(no-unused-vars) `add` is never used
|
|
function add(a: number, b: number): number {
|
|
^^^
|
|
at [WILDCARD]a.ts:2:9
|
|
|
|
hint: If this is intentional, prefix it with an underscore like `_add`
|
|
help: for further information visit https://lint.deno.land/#no-unused-vars
|
|
|
|
Found 2 problems
|
|
Checked 1 file
|