From 0a0cf8b83a41a2689e8658e5d76987d29a35e18a Mon Sep 17 00:00:00 2001 From: jiatianqi Date: Thu, 25 Aug 2022 15:02:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=E5=AF=B9scss=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=AD=E7=B1=BB=E5=90=8Dcxd=E5=89=8D=E7=BC=80?= =?UTF-8?q?=E7=9A=84=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id8a1776922789758c4b7e63af360c6c0d983510e --- packages/amis-editor/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/amis-editor/package.json b/packages/amis-editor/package.json index 5c980da89..07c23e829 100644 --- a/packages/amis-editor/package.json +++ b/packages/amis-editor/package.json @@ -23,7 +23,8 @@ ], "lint-staged": { "{src,scss,examples}/**/**/*.{js,jsx,ts,tsx,scss,json}": [ - "prettier --write" + "prettier --write", + "stylelint" ] }, "dependencies": { @@ -90,6 +91,7 @@ "sass": "^1.49.7", "sass-loader": "^12.5.0", "style-loader": "^3.2.1", + "stylelint": "^14.11.0", "ts-jest": "^28.0.3", "ts-json-schema-generator": "0.96.0", "ts-loader": "^9.2.5",