mirror of
https://github.com/zadam/trilium.git
synced 2026-07-28 14:51:21 +02:00
fix(codemirror): missing Node globals from linter
This commit is contained in:
@@ -21,7 +21,7 @@ export async function lint(mimeType: string) {
|
||||
if (mimeType === "application/javascript;env=frontend") {
|
||||
globals = { ...globals, ...globalDefinitions.jquery };
|
||||
} else if (mimeType === "application/javascript;env=backend") {
|
||||
|
||||
globals = { ...globals, ...globalDefinitions.nodeBuiltin };
|
||||
}
|
||||
|
||||
const config: (Linter.LegacyConfig | Linter.Config | Linter.Config[]) = [
|
||||
|
||||
Reference in New Issue
Block a user