Skip to content

Commit

Permalink
feat: Added git pre commit hook to check linting before commit in loc…
Browse files Browse the repository at this point in the history
…al machine #109
  • Loading branch information
kdhttps committed Sep 14, 2020
1 parent 3ec447f commit 126a500
Show file tree
Hide file tree
Showing 2 changed files with 178 additions and 0 deletions.
172 changes: 172 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions package.json
Expand Up @@ -71,6 +71,7 @@
"codecov": "^3.7.1",
"cucumber": "^6.0.5",
"got": "^11.6.0",
"husky": "^4.3.0",
"mocha": "^8.1.1",
"nock": "^13.0.2",
"nyc": "^15.1.0",
Expand Down Expand Up @@ -100,5 +101,10 @@
"it",
"expect"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
}
}

0 comments on commit 126a500

Please sign in to comment.