commit | 7a7b4d586c0c386db42c076c8cb3f6500ac59155 | [log] [tgz] |
---|---|---|
author | simon <tran.simon2@gmail.com> | Fri Sep 23 02:09:42 2022 -0400 |
committer | simon <tran.simon2@gmail.com> | Wed Sep 28 18:34:06 2022 -0400 |
tree | aa9603a97aa74fdcccd282c79bcc2eb819fb8773 | |
parent | c7d52456593d068462778ce461e86b15d2db933c [diff] [blame] |
Update .eslintrc.json and add prettier support Add pre-commit hook to lint staged files Add some eslint plugins Gitlab: #2 Change-Id: Iea7800b66992dcb4b87501544647aedafe07a509
diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 0000000..d24fdfc --- /dev/null +++ b/.husky/pre-commit
@@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +npx lint-staged