Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

feat: commit lint (#106)

ecmadao0714f563da39
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index ad6ba0f24c..3bbaf251c2 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,4 +1,10 @@
repos:
+- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
+ rev: v2.2.0
+ hooks:
+ - id: commitlint
+ stages: [commit-msg]
+ additional_dependencies: ['@commitlint/config-conventional']
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
diff --git a/commitlint.config.js b/commitlint.config.js
new file mode 100644
index 0000000000..a989bfc072
--- /dev/null
+++ b/commitlint.config.js
@@ -0,0 +1,3 @@
+module.exports = {
+ extends: ['@commitlint/config-conventional']
+};