Skip to content

Commit bcc868e

Browse files
Merge pull request #964 from rubensworks/dev/precommit
Add pre-commit hook to trigger linter
2 parents 11ab513 + c476fb2 commit bcc868e

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

package-lock.json

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
"nock": "^9.0.14",
122122
"node-mocks-http": "^1.7.0",
123123
"nyc": "^13.3.0",
124+
"pre-commit": "^1.2.2",
124125
"randombytes": "^2.0.1",
125126
"sinon": "^2.1.0",
126127
"sinon-chai": "^2.8.0",
@@ -130,6 +131,9 @@
130131
"turtle-validator": "^1.0.2",
131132
"whatwg-url": "^6.1.0"
132133
},
134+
"pre-commit": [
135+
"standard"
136+
],
133137
"main": "index.js",
134138
"scripts": {
135139
"solid": "node ./bin/solid",

0 commit comments

Comments
 (0)