Skip to content

Commit 766db80

Browse files
committed
Add lint-staged to lint any staged files.
1 parent 0c6033a commit 766db80

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,14 @@
3636
"eslint-plugin-prettier": "^3.1.2",
3737
"husky": "^2.3.0",
3838
"lerna": "^3.20.2",
39+
"lint-staged": "^9.5.0",
3940
"prettier": "^1.19.1",
4041
"sort-package-json": "~1.35"
4142
},
4243
"husky": {
4344
"hooks": {
44-
"pre-commit": "lint-staged"
45+
"pre-commit": "lint-staged",
46+
"pre-push": "jlpm run integrity"
4547
}
4648
}
4749
}

0 commit comments

Comments
 (0)