chore(eslint): add missing global comments

These comments tell eslint that those special variables are
globally accessible

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2025-02-01 22:06:18 +01:00 committed by Erik Michelson
parent 03a7b0d3ef
commit c84a01b4ae
2 changed files with 2 additions and 0 deletions

View file

@ -1,3 +1,4 @@
/* global CodeMirror, inlineAttachment, editor, Cookies */
import '@hedgedoc/codemirror-5/addon/comment/comment.js'
import '@hedgedoc/codemirror-5/addon/comment/continuecomment.js'
import '@hedgedoc/codemirror-5/addon/dialog/dialog.js'

View file

@ -1,3 +1,4 @@
/* global CodeMirror, editor */
const wrapSymbols = ['*', '_', '~', '^', '+', '=']
export function wrapTextWith (editor, cm, symbol) {