Skip to content

Commit

Permalink
cleaned up husky
Browse files Browse the repository at this point in the history
  • Loading branch information
dfee committed Jan 17, 2019
1 parent 8b65015 commit 5b9dde3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .huskyrc.js

This file was deleted.

9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,23 @@
"typescript": "3.2.2",
"typescript-tslint-plugin": "^0.2.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && make test"
}
},
"lint-staged": {
"linters": {
"*.{js,jsx,ts,tsx,json,css,sass,md}": [
"echo here",
"prettier --write",
"git add"
]
},
"ignore": [
"**/public/*.min.js"
]
},
"prettier": {
"trailingComma": "all"
}
}

0 comments on commit 5b9dde3

Please sign in to comment.