Fix eslint diagnostics by passing worktree root during workspace init
This commit is contained in:
parent
02174084ca
commit
f9cd45269a
9 changed files with 45 additions and 16 deletions
|
@ -29,7 +29,6 @@ pub struct IntelephenseLspAdapter {
|
|||
impl IntelephenseLspAdapter {
|
||||
const SERVER_PATH: &'static str = "node_modules/intelephense/lib/intelephense.js";
|
||||
|
||||
#[allow(unused)]
|
||||
pub fn new(node: Arc<dyn NodeRuntime>) -> Self {
|
||||
Self { node }
|
||||
}
|
||||
|
|
|
@ -205,7 +205,6 @@ pub struct EsLintLspAdapter {
|
|||
impl EsLintLspAdapter {
|
||||
const SERVER_PATH: &'static str = "vscode-eslint/server/out/eslintServer.js";
|
||||
|
||||
#[allow(unused)]
|
||||
pub fn new(node: Arc<dyn NodeRuntime>) -> Self {
|
||||
EsLintLspAdapter { node }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue