Skip to content

Commit

Permalink
feat(commitlint): ignore "wip" messages in commitlint (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
mheob authored Oct 14, 2024
1 parent d6d89a6 commit 05329c9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/modern-walls-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@mheob/commitlint-config': minor
---

ignore "wip" messages in commitlint
8 changes: 7 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,11 @@
"scss",
"pcss",
"postcss"
]
],

// SonarLint
"sonarlint.connectedMode.project": {
"connectionId": "mheob",
"projectKey": "mheob_config"
}
}
1 change: 1 addition & 0 deletions packages/commitlint-config/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function getIssue() {
}

const options: UserConfig = {
ignores: [message => /wip/i.test(message)],
prompt: {
allowBreakingChanges: ['feat', 'fix'],
allowCustomIssuePrefix: true,
Expand Down

0 comments on commit 05329c9

Please sign in to comment.