From 4ae1722e724632d82d37822a5ce4335b60993c46 Mon Sep 17 00:00:00 2001 From: xingyu Date: Mon, 11 Sep 2023 17:08:57 +0800 Subject: [PATCH] fix: stylelint --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 120c8357..cfe5bcbe 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "clean:cache": "npx rimraf node_modules/.cache", "lint:eslint": "eslint --fix --ext .js,.ts,.vue ./src", "lint:format": "prettier --write --loglevel warn \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"", - "lint:style": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", + "lint:style": "stylelint --fix \"./src/**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", "lint:lint-staged": "lint-staged -c " }, "dependencies": {