Skip to content

Commit

Permalink
config: add new misc scope
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodrr committed Aug 31, 2022
1 parent 184236f commit 230e961
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .commitlintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ const SCOPES = [
"ci",
"setup",
"docs",
"refactor"
"refactor",
"misc"
];

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ All commits must include valid scopes in the commit message. **Valid commit scop
2. `ci`: changes related to CI
3. `setup`: setting up someting new in the repo (e.g. eslint, commitlint)
4. `docs`: changes related to documentation (README etc.)
5. `refactor`: used for large scale refactoring (very rare)
5. `misc`: miscellaneous changes like package-lock.json updates

**Some example commits would look like this:**

Expand Down

0 comments on commit 230e961

Please sign in to comment.