Skip to content
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.

Commit

Permalink
fix: update pre-commit, README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Gerasimovich committed Mar 23, 2021
1 parent e919670 commit 8567a8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

lint-staged
npm run lint
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ _CNAX_ has a pre-commit feature, based on [Husky](https://github.com/typicode/hu
**pre-commit** in `.husky/pre-commit`:

```
lint-staged
npm run lint
```

And it can be configured in any preferrable way. Enjoy!
Expand Down

0 comments on commit 8567a8c

Please sign in to comment.