Browse Source

Switch to format:check and simplify comments

pull/3867/head
Thomas Kaul 11 months ago
parent
commit
c17ef715f5
  1. 9
      .husky/pre-commit

9
.husky/pre-commit

@ -1,7 +1,6 @@
# Run lint and abort if there are any lint errors
# --quiet will supress warnings which would cause this check to fail too
# this is temporary until all warnings are fixed
# Run linting and stop the commit process if any errors are found
# --quiet suppresses warnings (temporary until all warnings are fixed)
npm run lint --quiet || exit 1
# Run format:check on modified and uncommitted files and abort if there are any formatting errors
npm run format:write --uncommitted || exit 1
# Check formatting on modified and uncommitted files, stop the commit if issues are found
npm run format:check --uncommitted || exit 1

Loading…
Cancel
Save