From 8aac3eacb1c87afb6f5fa51200833c7fd8e78209 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Thu, 6 Aug 2020 09:03:15 +0800 Subject: [PATCH] Ignore `test*` file in `lint:prettier` script (#8910) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3e06e664a..e3f87d267 100644 --- a/package.json +++ b/package.json @@ -135,7 +135,7 @@ "lint:typecheck": "tsc", "lint:eslint": "cross-env EFF_NO_LINK_RULES=true eslint . --format friendly", "lint:changelog": "node ./scripts/lint-changelog.js", - "lint:prettier": "prettier \"**/*.{md,json,yml,html,css,js}\" --check", + "lint:prettier": "prettier \"**/*.{md,json,yml,html,css,js}\" \"!test*\" --check", "lint:dist": "eslint --no-eslintrc --no-ignore --env=es6,browser --parser-options=ecmaVersion:2016 \"dist/!(bin-prettier|index|third-party).js\"", "lint:spellcheck": "cspell \"**/*\" \".github/**/*\"", "lint:deps": "node ./scripts/check-deps.js",