summaryrefslogtreecommitdiff
path: root/cli/lsp/analysis.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-05-10 22:39:16 +0200
committerGitHub <noreply@github.com>2021-05-10 22:39:16 +0200
commitc44e53a5b6bd8d995ddc32a0ba13d20bf4e70818 (patch)
tree7ce698994c5665c52b373605cbb3c8602df277ac /cli/lsp/analysis.rs
parentf12b82e183d1af75d434938f248fd81781c2ab50 (diff)
chore: upgrade crates (#10559)
Diffstat (limited to 'cli/lsp/analysis.rs')
-rw-r--r--cli/lsp/analysis.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/analysis.rs b/cli/lsp/analysis.rs
index 103a9c810..fd848c564 100644
--- a/cli/lsp/analysis.rs
+++ b/cli/lsp/analysis.rs
@@ -95,7 +95,7 @@ pub fn get_lint_references(
) -> Result<Vec<Reference>, AnyError> {
let syntax = ast::get_syntax(media_type);
let lint_rules = rules::get_recommended_rules();
- let mut linter = create_linter(syntax, lint_rules);
+ let linter = create_linter(syntax, lint_rules);
// TODO(@kitsonk) we should consider caching the swc source file versions for
// reuse by other processes
let (_, lint_diagnostics) =