Skip to content

Commit 37562a4

Browse files
committed
Delete unused functions
1 parent 926885a commit 37562a4

File tree

2 files changed

+0
-38
lines changed

2 files changed

+0
-38
lines changed

packages/tailwindcss-language-server/src/lsp/diagnosticsProvider.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,3 @@ export function clearDiagnostics(state: State, document: TextDocument): void {
2020
diagnostics: [],
2121
})
2222
}
23-
24-
export function clearAllDiagnostics(state: State): void {
25-
state.editor?.documents.all().forEach((document) => {
26-
clearDiagnostics(state, document)
27-
})
28-
}
29-
30-
export function updateAllDiagnostics(state: State): void {
31-
state.editor?.documents.all().forEach((document) => {
32-
provideDiagnostics(state, document)
33-
})
34-
}

packages/tailwindcss-language-service/src/diagnostics/diagnosticsProvider.ts

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -50,29 +50,3 @@ export async function doValidate(
5050
]
5151
: []
5252
}
53-
54-
export async function provideDiagnostics(state: State, document: TextDocument) {
55-
// state.editor.connection.sendDiagnostics({
56-
// uri: document.uri,
57-
// diagnostics: await doValidate(state, document),
58-
// })
59-
}
60-
61-
export function clearDiagnostics(state: State, document: TextDocument): void {
62-
// state.editor.connection.sendDiagnostics({
63-
// uri: document.uri,
64-
// diagnostics: [],
65-
// })
66-
}
67-
68-
export function clearAllDiagnostics(state: State): void {
69-
state.editor.documents.all().forEach((document) => {
70-
clearDiagnostics(state, document)
71-
})
72-
}
73-
74-
export function updateAllDiagnostics(state: State): void {
75-
state.editor.documents.all().forEach((document) => {
76-
provideDiagnostics(state, document)
77-
})
78-
}

0 commit comments

Comments
 (0)