Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore: update pre-commit hook (#2904)

Alex Yangbc14d54cfa71
diff --git a/.husky/pre-commit b/.husky/pre-commit
index b1896feff7..32b8b845e6 100755
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -2,7 +2,10 @@
. "$(dirname -- "$0")/_/husky.sh"
# check lockfile is up to date
-yarn install
+yarn install --mode=update-lockfile
# lint staged files
yarn exec lint-staged
+
+# type check
+yarn typecheck