From ac2f91e5a80870b1bc180d20ed6ee8e6aff84585 Mon Sep 17 00:00:00 2001 From: jmal Date: Sun, 24 May 2020 18:35:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=9C=AC=E7=BC=96=E8=BE=91=E5=99=A8?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0lint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 + .../VueCodemirror/VueCodeMirror.vue | 88 ++++++++++++------- src/components/preview/SimTextPreview.vue | 21 +++-- 3 files changed, 70 insertions(+), 41 deletions(-) diff --git a/package.json b/package.json index 88687f1..1f9c69e 100644 --- a/package.json +++ b/package.json @@ -26,8 +26,10 @@ "exif-js": "^2.3.0", "gsap": "^3.2.6", "highlightjs-line-numbers.js": "^2.7.0", + "htmlhint": "^0.13.0", "jquery": "^1.12.4", "js-cookie": "2.2.0", + "jshint": "^2.11.1", "lib-flexible": "^0.3.2", "mavon-editor": "^2.7.7", "normalize.css": "7.0.0", diff --git a/src/components/VueCodemirror/VueCodeMirror.vue b/src/components/VueCodemirror/VueCodeMirror.vue index e86dd06..2fda52d 100644 --- a/src/components/VueCodemirror/VueCodeMirror.vue +++ b/src/components/VueCodemirror/VueCodeMirror.vue @@ -6,25 +6,13 @@