Skip to content

Commit f4018f0

Browse files
committed
Add prettier pre-commit hook with husky/precise-commits
1 parent 896d425 commit f4018f0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
"linting"
1414
],
1515
"homepage": "https://github.com/krassowski/jupyterlab-lsp",
16+
"husky": {
17+
"hooks": {
18+
"pre-commit": "precise-commits"
19+
}
20+
},
1621
"bugs": {
1722
"url": "https://github.com/krassowski/jupyterlab-lsp/issues"
1823
},
@@ -62,6 +67,7 @@
6267
"@jupyterlab/notebook": "~1.1.3",
6368
"@jupyterlab/rendermime": "~1.1.3",
6469
"@jupyterlab/services": "~4.1.1",
70+
"@jupyterlab/statusbar": "~1.1.3",
6571
"@jupyterlab/testutils": "^1.0.0-alpha.6",
6672
"@jupyterlab/tooltip": "~1.1.3",
6773
"@phosphor/algorithm": "^1.1.3",
@@ -74,10 +80,12 @@
7480
"codemirror": "~5.47.0",
7581
"dockerfile-language-server-nodejs": "^0.0.21",
7682
"events": "^3.0.0",
83+
"husky": "^3.0.9",
7784
"javascript-typescript-langserver": "^2.11.3",
7885
"jest": "^24.7.1",
7986
"jest-junit": "^8.0.0",
8087
"jsonrpc-ws-proxy": "0.0.5",
88+
"precise-commits": "^1.0.2",
8189
"prettier": "^1.18.2",
8290
"react": "~16.8.4",
8391
"rimraf": "^2.6.1",

0 commit comments

Comments
 (0)