Ignore test* file in lint:prettier script (#8910)

This commit is contained in:
fisker Cheung authored and GitHub committed 2020-08-06 09:03:15 +08:00
1 parent c6b3ed6e1c
commit 8aac3eacb1
1 file changed
+1 -1
+1 -1
View File
@@ -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",