From 2e7b890e40bac1a6c5f875ce9feb48025811fba1 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Mon, 26 Sep 2022 15:29:34 +0500 Subject: [PATCH] config: add new `global` commit scope --- .commitlintrc.js | 3 ++- CONTRIBUTING.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.commitlintrc.js b/.commitlintrc.js index d97f32899..3325baccb 100644 --- a/.commitlintrc.js +++ b/.commitlintrc.js @@ -25,7 +25,8 @@ const SCOPES = [ "setup", "docs", "refactor", - "misc" + "misc", + "global" ]; module.exports = { diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index de2b8cf8c..f6bd1cf30 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -117,6 +117,7 @@ All commits must include valid scopes in the commit message. **Valid commit scop 3. `setup`: setting up something new in the repo (e.g. eslint, commitlint) 4. `docs`: changes related to documentation (README etc.) 5. `misc`: miscellaneous changes like package-lock.json updates +6. `global`: changes related to the whole repo **Some example commits would look like this:**