Merge pull request #129 from github/cschleiden/remove-old-todo
Remove old TODO
This commit is contained in:
@@ -43,11 +43,7 @@ export type ValidationConfig = {
|
|||||||
* @param textDocument Document to validate
|
* @param textDocument Document to validate
|
||||||
* @returns Array of diagnostics
|
* @returns Array of diagnostics
|
||||||
*/
|
*/
|
||||||
export async function validate(
|
export async function validate(textDocument: TextDocument, config?: ValidationConfig): Promise<Diagnostic[]> {
|
||||||
textDocument: TextDocument,
|
|
||||||
config?: ValidationConfig
|
|
||||||
// TODO: Support multiple files, context for API calls
|
|
||||||
): Promise<Diagnostic[]> {
|
|
||||||
const file: File = {
|
const file: File = {
|
||||||
name: textDocument.uri,
|
name: textDocument.uri,
|
||||||
content: textDocument.getText()
|
content: textDocument.getText()
|
||||||
|
|||||||
Reference in New Issue
Block a user