From 1946e3a10e10334bcb6a4ec9254d8171001a4798 Mon Sep 17 00:00:00 2001 From: Jeffrey Hsu Date: Mon, 13 Jan 2025 21:51:13 +0800 Subject: [PATCH] add eslint script --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 11d43c3..bbb0055 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,9 @@ "dev": "nuxt dev", "generate": "nuxt generate", "preview": "nuxt preview", - "postinstall": "nuxt prepare" + "postinstall": "nuxt prepare", + "lint": "eslint .", + "stylefix": "eslint . --fix" }, "dependencies": { "@callmebill/lxgw-wenkai-web": "^1.501.0",