Skip to content

Commit

Permalink
Resolve ESLint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
remcohaszing committed Sep 6, 2023
1 parent 0d24b7d commit a3f5b3c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/yaml.worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,16 @@ export interface YAMLWorker {
}

const telemetry: Telemetry = {
// eslint-disable-next-line @typescript-eslint/no-empty-function
send() {},
send() {
// Do nothing
},
sendError(name, properties) {
// eslint-disable-next-line no-console
console.error('monaco-yaml', name, properties)
},
// eslint-disable-next-line @typescript-eslint/no-empty-function
sendTrack() {}
sendTrack() {
// Do nothing
}
}

const workspaceContext: WorkspaceContextService = {
Expand Down

0 comments on commit a3f5b3c

Please sign in to comment.