fix(husky): Adding husky for pre-commit linting

This commit is contained in:
Chris Troutner
2020-07-23 13:38:18 -07:00
parent c9b7e38b70
commit 2953242714
3 changed files with 151 additions and 1 deletions
+6
View File
@@ -30,6 +30,7 @@
"url": "https://github.com/Permissionless-Software-Foundation/bch-wallet-starter/issues"
},
"devDependencies": {
"husky": "^4.2.5",
"semantic-release": "^17.1.1",
"standard": "^14.3.4"
},
@@ -40,5 +41,10 @@
"npmPublish": false
}
]
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
}
}