mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-09 13:51:57 -04:00
chore(eslint): remove deprecated eslint-env
These comments did not work anymore and were replaced by relevant sections in eslint.config.mjs Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
c437366c33
commit
03a7b0d3ef
16 changed files with 4 additions and 19 deletions
|
@ -17,7 +17,10 @@ export default [{
|
|||
}, ...compat.extends('standard'), {
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.node
|
||||
...globals.node,
|
||||
...globals.mocha,
|
||||
...globals.jquery,
|
||||
...globals.browser
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-env browser, jquery */
|
||||
/* global moment, serverurl */
|
||||
|
||||
import {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-env browser, jquery */
|
||||
/* eslint no-console: ["error", { allow: ["warn", "error"] }] */
|
||||
/* global moment, serverurl */
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-env browser, jquery */
|
||||
/* eslint no-console: ["error", { allow: ["warn", "error", "debug"] }] */
|
||||
/* global serverurl, moment */
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-env browser, jquery */
|
||||
/* eslint no-console: ["error", { allow: ["warn", "error", "debug"] }] */
|
||||
/* global Cookies, moment, serverurl,
|
||||
key, Dropbox, Visibility */
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-env browser, jquery */
|
||||
/* global Cookies */
|
||||
|
||||
import { serverurl } from '../config'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-env browser, jquery */
|
||||
/* global _ */
|
||||
// Inject line numbers for sync scroll.
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-env browser, jquery */
|
||||
/* global Cookies */
|
||||
const supportedLanguages = require('../../locales/_supported.json')
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-env browser, jquery */
|
||||
/* global refreshView */
|
||||
|
||||
import {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-env browser, jquery */
|
||||
// allow some attributes
|
||||
|
||||
const filterXSS = require('xss')
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/* eslint-env browser, jquery */
|
||||
|
||||
import { preventXSS, escapeAttrValue } from './render'
|
||||
import { md } from './extra'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-env browser, jquery */
|
||||
/* global serverurl, Reveal, RevealMarkdown */
|
||||
|
||||
import { preventXSS } from './render'
|
||||
|
|
1
public/vendor/md-toc.js
vendored
1
public/vendor/md-toc.js
vendored
|
@ -1,4 +1,3 @@
|
|||
/* eslint-env browser, jquery */
|
||||
/**
|
||||
* md-toc.js v1.0.2
|
||||
* https://github.com/yijian166/md-toc.js
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-env node, mocha */
|
||||
'use strict'
|
||||
|
||||
const assert = require('assert')
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/* eslint-env node, mocha */
|
||||
|
||||
'use strict'
|
||||
|
||||
const assert = require('assert')
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/* eslint-env node, mocha */
|
||||
|
||||
'use strict'
|
||||
|
||||
const assert = require('assert')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue