Skip to content

Commit fa3d808

Browse files
committed
Add pre-commit hook to trigger linter
1 parent 6170cc8 commit fa3d808

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

package-lock.json

Lines changed: 52 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
@@ -98,6 +98,7 @@
9898
"nock": "^9.0.14",
9999
"node-mocks-http": "^1.7.0",
100100
"nyc": "^13.0.1",
101+
"pre-commit": "^1.2.2",
101102
"sinon": "^2.1.0",
102103
"sinon-chai": "^2.8.0",
103104
"snyk": "^1.88.2",
@@ -106,6 +107,9 @@
106107
"whatwg-url": "^6.1.0",
107108
"randombytes": "^2.0.1"
108109
},
110+
"pre-commit": [
111+
"standard"
112+
],
109113
"main": "index.js",
110114
"scripts": {
111115
"solid": "node ./bin/solid",

0 commit comments

Comments
 (0)