mirror of https://github.com/ghostfolio/ghostfolio
1 changed files with 4 additions and 5 deletions
@ -1,7 +1,6 @@ |
|||||
# Run lint and abort if there are any lint errors |
# Run linting and stop the commit process if any errors are found |
||||
# --quiet will supress warnings which would cause this check to fail too |
# --quiet suppresses warnings (temporary until all warnings are fixed) |
||||
# this is temporary until all warnings are fixed |
|
||||
npm run lint --quiet || exit 1 |
npm run lint --quiet || exit 1 |
||||
|
|
||||
# Run format:check on modified and uncommitted files and abort if there are any formatting errors |
# Check formatting on modified and uncommitted files, stop the commit if issues are found |
||||
npm run format:write --uncommitted || exit 1 |
npm run format:check --uncommitted || exit 1 |
||||
|
Loading…
Reference in new issue