A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
chore(ui): add pre-commit
robinb271d4de45ea
diff --git a/.gitignore b/.gitignoreindex 84af0c17..d4063a95 100644--- a/.gitignore+++ b/.gitignore@@ -20,6 +20,5 @@Thumbs*.dbtmpvendor/-.husky/answer-data//answerdiff --git a/.husky/.gitignore b/.husky/.gitignorenew file mode 100644index 00000000..31354ec1--- /dev/null+++ b/.husky/.gitignore@@ -0,0 +1 @@+_diff --git a/.husky/pre-commit b/.husky/pre-commitnew file mode 100755index 00000000..1e22558b--- /dev/null+++ b/.husky/pre-commit@@ -0,0 +1,4 @@+#!/bin/sh+. "$(dirname "$0")/_/husky.sh"++cd ui && npm run pre-commit