Skip to content

Node.js based forum software built for the modern web

chore: update commitlint config

Julian Lam61a8c6f03738
diff --git a/commitlint.config.js b/commitlint.config.js
index 6b18799869..c485cf62c9 100644
--- a/commitlint.config.js
+++ b/commitlint.config.js
@@ -1,3 +1,25 @@
'use strict';
-module.exports = { extends: ['@commitlint/config-angular'] };
+module.exports = {
+ extends: ['@commitlint/config-angular'],
+ rules: {
+ 'type-enum': [
+ 2,
+ 'always',
+ [
+ 'breaking',
+ 'build',
+ 'chore',
+ 'ci',
+ 'docs',
+ 'feat',
+ 'fix',
+ 'perf',
+ 'refactor',
+ 'revert',
+ 'style',
+ 'test',
+ ],
+ ],
+ },
+};