diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-10-22 21:52:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-22 21:52:37 +0200 |
commit | c5c48f845a4d25f064c4388fcdd4295317edf155 (patch) | |
tree | 70d4897d85ca3c89ff2a19af84883360a77b1172 /cli/main.rs | |
parent | 9b20cfbee8d932c2f232f6bad911fe65c8257adc (diff) |
feat(lint): stabilize "deno lint" subcommand (#8075)
This commit stabilizes "deno lint" by removing
the need to pass --unstable flag.
--unstable is still required when using --json flag.
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cli/main.rs b/cli/main.rs index 9080bc6cb..56e3c19f8 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -216,16 +216,12 @@ async fn install_command( } async fn lint_command( - flags: Flags, + _flags: Flags, files: Vec<PathBuf>, list_rules: bool, ignore: Vec<PathBuf>, json: bool, ) -> Result<(), AnyError> { - if !flags.unstable { - exit_unstable("lint"); - } - if list_rules { lint::print_rules_list(); return Ok(()); |