chore: add husky as dev dependency

This commit is contained in:
Alexandre Nunes 2020-09-26 16:48:40 -03:00
parent 846e914fd0
commit e2963d0ef5
4 changed files with 944 additions and 0 deletions

5
.huskyrc.json Normal file

@ -0,0 +1,5 @@
{
"hooks": {
"pre-commit": "eslint"
}
}

3
.lintstagedrc.json Normal file

@ -0,0 +1,3 @@
{
"*.ts": ["eslint 'src/**' --fix"]
}

934
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -45,7 +45,9 @@
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"git-commit-msg-linter": "^2.7.0",
"husky": "^4.3.0",
"jest": "24.9.0",
"lint-staged": "^10.4.0",
"prettier": "^2.1.1",
"ts-jest": "^26.3.0",
"typescript": "^4.0.2"