From 9de23878737fb57c7d39482909af64f746a3fd62 Mon Sep 17 00:00:00 2001 From: james-gates-0212 Date: Wed, 27 Mar 2024 11:34:57 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20commit=20lint=E2=99=BB=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 +++ commitlint.config.js | 16 +++++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3ff495c..89f63e0 100644 --- a/README.md +++ b/README.md @@ -63,11 +63,14 @@ e.g. ```bash add adopt +apply build chore +config docs feat fix +init refactor remove style diff --git a/commitlint.config.js b/commitlint.config.js index 5e991ed..cd9ebe4 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -52,7 +52,21 @@ const config = { 'type-enum': [ 2, 'always', - ['add', 'adopt', 'build', 'chore', 'docs', 'feat', 'fix', 'refactor', 'remove', 'style'], + [ + 'add', + 'adopt', + 'apply', + 'build', + 'chore', + 'config', + 'docs', + 'feat', + 'fix', + 'init', + 'refactor', + 'remove', + 'style', + ], ], }, };