diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..c73f3c1 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +.husky/** text eol=lf diff --git a/.husky/pre-commit b/.husky/pre-commit index 97449c1..355561c 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,2 +1,4 @@ -npm run lint -npm test +#!/usr/bin/env sh +set -e +npm run lint +npm test