config: add new global commit scope

This commit is contained in:
Abdullah Atta
2022-09-26 15:29:34 +05:00
parent 0b34af4931
commit 2e7b890e40
2 changed files with 3 additions and 1 deletions

View File

@@ -25,7 +25,8 @@ const SCOPES = [
"setup",
"docs",
"refactor",
"misc"
"misc",
"global"
];
module.exports = {

View File

@@ -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:**