Skip to content

Commit b70e436

Browse files
authored
add husky + lint-staged (#7)
1 parent 36ca7e3 commit b70e436

File tree

4 files changed

+850
-4
lines changed

4 files changed

+850
-4
lines changed

.circleci/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ jobs:
1818
- node_modules
1919
key: v1-dependencies-{{ checksum "package.json" }}
2020

21-
- run: npm run lint
2221
- run: npm test

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
node_modules/lint-staged/bin/lint-staged.js

0 commit comments

Comments
 (0)