Skip to content

Commit

Permalink
ci: fail format scripts on a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbruijn committed May 9, 2024
1 parent d1fab7d commit 4a8f3ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"prepare": "husky install .github/husky",
"lint": "run-p format:check xo",
"lint:fix": "run-p format 'xo -- --fix'",
"format:check": "prettier --ignore-path .gitignore --check \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
"format": "prettier --ignore-path .gitignore --write \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
"format:check": "prettier --ignore-path .gitignore --check \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --log-level warn",
"format": "prettier --ignore-path .gitignore --write \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --log-level warn",
"xo": "xo",
"build": "tsc",
"build:check": "tsc --noEmit",
Expand Down

0 comments on commit 4a8f3ce

Please sign in to comment.