Skip to content

Commit 8f95415

Browse files
Nick HellemansNick Hellemans
authored andcommitted
chore(): add pre-commit hook
1 parent 56310af commit 8f95415

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
"format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\"",
1212
"test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'src/**/*.test.ts'"
1313
},
14+
"precommit": [
15+
"lint"
16+
],
1417
"keywords": [],
1518
"author": "",
1619
"license": "ISC",

0 commit comments

Comments
 (0)