summaryrefslogtreecommitdiff
path: root/cli/tsc.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/tsc.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/tsc.rs')
-rw-r--r--cli/tsc.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/cli/tsc.rs b/cli/tsc.rs
index 2a1307432..99b1449f8 100644
--- a/cli/tsc.rs
+++ b/cli/tsc.rs
@@ -21,6 +21,9 @@ use crate::state::State;
use crate::swc_common::comments::CommentKind;
use crate::swc_common::Span;
use crate::swc_ecma_ast;
+use crate::swc_ecma_visit;
+use crate::swc_ecma_visit::Node;
+use crate::swc_ecma_visit::Visit;
use crate::swc_util::AstParser;
use crate::swc_util::SwcDiagnosticBuffer;
use crate::version;
@@ -56,8 +59,6 @@ use std::sync::atomic::Ordering;
use std::sync::Arc;
use std::sync::Mutex;
use std::task::Poll;
-use swc_ecma_visit::Node;
-use swc_ecma_visit::Visit;
use url::Url;
pub const AVAILABLE_LIBS: &[&str] = &[