Fix linter error

Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
This commit is contained in:
Yukai Huang 2019-11-01 16:47:41 +08:00
parent bfc50b8bb9
commit f1586c57dd
No known key found for this signature in database
GPG Key ID: D4D3B2F0E99D4914
1 changed files with 4 additions and 2 deletions

View File

@ -1,11 +1,13 @@
/* global CodeMirror */
window.markdownit = require('markdown-it')
require('script-loader!markdownlint')
// load CM lint plugin explicitly
import '@hackmd/codemirror/addon/lint/lint'
import './lint.css'
window.markdownit = require('markdown-it')
// eslint-disable-next-line
require('script-loader!markdownlint');
(function (mod) {
mod(CodeMirror)
})(function (CodeMirror) {