mirror of https://github.com/status-im/codimd.git
Fix linter error
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
This commit is contained in:
parent
bfc50b8bb9
commit
f1586c57dd
|
@ -1,11 +1,13 @@
|
||||||
/* global CodeMirror */
|
/* global CodeMirror */
|
||||||
window.markdownit = require('markdown-it')
|
|
||||||
require('script-loader!markdownlint')
|
|
||||||
|
|
||||||
// load CM lint plugin explicitly
|
// load CM lint plugin explicitly
|
||||||
import '@hackmd/codemirror/addon/lint/lint'
|
import '@hackmd/codemirror/addon/lint/lint'
|
||||||
import './lint.css'
|
import './lint.css'
|
||||||
|
|
||||||
|
window.markdownit = require('markdown-it')
|
||||||
|
// eslint-disable-next-line
|
||||||
|
require('script-loader!markdownlint');
|
||||||
|
|
||||||
(function (mod) {
|
(function (mod) {
|
||||||
mod(CodeMirror)
|
mod(CodeMirror)
|
||||||
})(function (CodeMirror) {
|
})(function (CodeMirror) {
|
||||||
|
|
Loading…
Reference in New Issue