mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
feat(lint): add support for --watch flag (#11983)
This commit is contained in:
parent
22328f8758
commit
c555b31d40
10 changed files with 189 additions and 55 deletions
11
cli/main.rs
11
cli/main.rs
|
@ -531,16 +531,7 @@ async fn lint_command(
|
|||
None
|
||||
};
|
||||
|
||||
tools::lint::lint_files(
|
||||
maybe_lint_config,
|
||||
lint_flags.rules_tags,
|
||||
lint_flags.rules_include,
|
||||
lint_flags.rules_exclude,
|
||||
lint_flags.files,
|
||||
lint_flags.ignore,
|
||||
lint_flags.json,
|
||||
)
|
||||
.await
|
||||
tools::lint::lint(maybe_lint_config, lint_flags, flags.watch).await
|
||||
}
|
||||
|
||||
async fn cache_command(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue