Skip to content

Commit

Permalink
Update deps (#161)
Browse files Browse the repository at this point in the history
- Include the `husky` major update.
  See https://github.com/typicode/husky/releases/tag/v8.0.0
- Sync the `pre-commit` script with one in the `stylelint/stylelint` repo.
  See https://github.com/stylelint/stylelint/blob/e1e28fec4b4f1a98fc94d81b7ffa0cdb393242ac/.husky/pre-commit
  • Loading branch information
ybiquitous committed May 21, 2022
1 parent 5771806 commit a1eac35
Show file tree
Hide file tree
Showing 3 changed files with 737 additions and 706 deletions.
8 changes: 5 additions & 3 deletions .husky/pre-commit
@@ -1,4 +1,6 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
#!/usr/bin/env sh
[ -n "$CI" ] && exit 0

npx lint-staged
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install lint-staged

0 comments on commit a1eac35

Please sign in to comment.