summaryrefslogtreecommitdiff
path: root/cli/lint.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-07-11 11:47:06 +0200
committerGitHub <noreply@github.com>2020-07-11 11:47:06 +0200
commit98f6a5a47d6b47b1ac7f09a2923d6051de7aca70 (patch)
tree5d1da6d8818340ec0df6e93e2d08fe1cfedc3e61 /cli/lint.rs
parent5ec41cbcc2778a80b6ee91f0c391fc2edec0a8e0 (diff)
chore: upgrade deno_lint, remove direct dprint dep (#6679)
This PR removes direct dependency on dprint-plugin-typescript and swc_ecma_visit. Both of these dependencies have been pushed out to deno_lint crate. This should make it a bit easier to do the upgrades and prevent having conflicting crate requirements.
Diffstat (limited to 'cli/lint.rs')
-rw-r--r--cli/lint.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/lint.rs b/cli/lint.rs
index 766ebdcfa..e3e1a81ab 100644
--- a/cli/lint.rs
+++ b/cli/lint.rs
@@ -96,11 +96,12 @@ fn get_rules() -> Vec<Box<dyn LintRule>> {
rules::no_explicit_any::NoExplicitAny::new(),
rules::no_extra_boolean_cast::NoExtraBooleanCast::new(),
rules::no_extra_non_null_assertion::NoExtraNonNullAssertion::new(),
+ rules::no_extra_semi::NoExtraSemi::new(),
rules::no_func_assign::NoFuncAssign::new(),
rules::no_misused_new::NoMisusedNew::new(),
rules::no_namespace::NoNamespace::new(),
rules::no_new_symbol::NoNewSymbol::new(),
- rules::no_obj_call::NoObjCall::new(),
+ rules::no_obj_calls::NoObjCalls::new(),
rules::no_octal::NoOctal::new(),
rules::no_prototype_builtins::NoPrototypeBuiltins::new(),
rules::no_regex_spaces::NoRegexSpaces::new(),