diff options
Diffstat (limited to 'cli/lsp/analysis.rs')
-rw-r--r-- | cli/lsp/analysis.rs | 2 |
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) = |