Skip to content

Commit

Permalink
Exit linting on error from sub task
Browse files Browse the repository at this point in the history
  • Loading branch information
anselmbradford committed Nov 29, 2024
1 parent 9d8a5be commit cf98e97
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/lint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/sh

# Exit on error from any of the linting sub-tasks.
set -e

## Run prettier. See ignored path in .prettierignore.
yarn prettier "./**/*.{js,jsx,ts,tsx,md,css,scss}" --write

Expand Down

0 comments on commit cf98e97

Please sign in to comment.