mirror of
https://github.com/zadam/trilium.git
synced 2026-02-22 21:54:39 +01:00
fix(codemirror): missing Node globals from linter
This commit is contained in:
parent
e8e7568bdc
commit
092a60fdd9
@ -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[]) = [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user