diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-01-10 00:20:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-09 23:20:52 +0000 |
commit | 69959aa01fab8ccc482cb3ee218af4e65d3fbc6e (patch) | |
tree | 1221798cf514662cd0e52b3feaa0d16b58aa6697 /cli/lsp/analysis.rs | |
parent | 741afc4b94427588c628925fef464623d373430f (diff) |
fix: update deno_lint and swc (#21718)
Co-authored-by: David Sherret <dsherret@gmail.com>
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 88ca47f67..5301fbeea 100644 --- a/cli/lsp/analysis.rs +++ b/cli/lsp/analysis.rs @@ -133,7 +133,7 @@ pub fn get_lint_references( parsed_source: &deno_ast::ParsedSource, lint_rules: Vec<&'static dyn LintRule>, ) -> Result<Vec<Reference>, AnyError> { - let linter = create_linter(parsed_source.media_type(), lint_rules); + let linter = create_linter(lint_rules); let lint_diagnostics = linter.lint_with_ast(parsed_source); Ok( |