mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-09-04 14:45:41 +00:00
fix(editor): remove unused params from getWorker to satisfy ESLint
This commit is contained in:
@@ -12,7 +12,7 @@ import editorWorker from 'monaco-editor/esm/vs/editor/editor.worker?worker'
|
|||||||
// that entirely. Sencho only needs YAML/plaintext so the base editorWorker
|
// that entirely. Sencho only needs YAML/plaintext so the base editorWorker
|
||||||
// covers all language modes — no additional language workers required.
|
// covers all language modes — no additional language workers required.
|
||||||
window.MonacoEnvironment = {
|
window.MonacoEnvironment = {
|
||||||
getWorker(_workerId: string, _label: string): Worker {
|
getWorker(): Worker {
|
||||||
return new editorWorker()
|
return new editorWorker()
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user