Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions apps/oxlint/src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ async fn lint_impl(

// If --lsp flag is set, run the language server
if command.lsp {
// Disable JS plugins support except in tests.
// TODO: Remove this line once we have solidified the implementation and thoroughly tested it.
let external_linter = if cfg!(feature = "testing") { external_linter } else { None };

crate::lsp::run_lsp(external_linter).await;
return CliRunResult::LintSucceeded;
}
Expand Down
Loading