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 Nov 6, 2023
1 parent 8ef7d79 commit cd75935
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 @@ -32,8 +32,8 @@
"build": "npm run build:esm && npm run build:cjs",
"build:cjs": "esbuild src/index.ts --bundle --target=ES2022 --platform=node --outfile=dist/index.cjs",
"build:esm": "tsc",
"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}\" --loglevel warn",
"format": "prettier --ignore-path .gitignore --write \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --log-level warn",
"format:check": "prettier --ignore-path .gitignore --check \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --log-level warn",
"lint": "npm run format:check && xo",
"lint:fix": "npm run format && xo --fix",
"prepare": "husky install .github/husky",
Expand Down

0 comments on commit cd75935

Please sign in to comment.