From aaf8b4e995bc41770fc21e71a876264ba728001b Mon Sep 17 00:00:00 2001 From: zhangchuanlong Date: Sun, 9 Jan 2022 18:45:43 +0800 Subject: [PATCH] chore:update npm scripts --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ecf60cc..c93b387 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "version": "0.0.1", "scripts": { "dev": "vite", - "lint": "eslint . --fix", - "lint:fix": "eslint . --fix", + "lint": "eslint --ext .js,.vue .", + "lint:fix": "eslint --fix --ext .js,.vue .", "build": "vite build && esno ./build/script", "build:test": "vite build --mode test && esno ./build/script", "build:staging": "vite build --mode staging && esno ./build/script",