add husky

This commit is contained in:
Kent C. Dodds
2019-07-31 20:57:02 -06:00
parent a5d2d971dd
commit cc6fdf9d84
3 changed files with 609 additions and 190 deletions

5
.huskyrc Normal file
View File

@@ -0,0 +1,5 @@
{
"hooks": {
"pre-commit": "npm run validate"
}
}

793
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -20,6 +20,7 @@
"@typescript-eslint/parser": "^2.0.0",
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.0.0",
"husky": "^3.0.2",
"prettier": "^1.18.2",
"typescript": "^3.5.3"
}