Skip to content

Commit 51b58c0

Browse files
author
Mike Foley
committed
Disable Wip check by default
I've found this to be annoying. It can be enabled via config file if someone wants to use it.
1 parent d11c160 commit 51b58c0

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ This creates a `.git/hooks/commit-msg` script which will automatically check you
3939
* **Tense**: Message must use imperative present tense: "Fix bug" and not "Fixed bug" or "Fixes bug."
4040
* **Subject Period**: Do not end your subject line with a period.
4141
* **Capitalize Subject**: Begin all subject lines with a capital letter.
42-
* **WIP**: Do not commit WIPs to shared branches.
4342
* **Frat House**: No frat house commit messages in shared branches.
43+
* **WIP**: Do not commit WIPs to shared branches (disabled by default)
4444

4545
## Configuration
4646

@@ -61,10 +61,10 @@ Validators/SubjectPeriod:
6161
Enabled: true
6262
Validators/CapitalizeSubject:
6363
Enabled: true
64-
Validators/Wip:
65-
Enabled: true
6664
Validators/Frathouse:
6765
Enabled: true
66+
Validators/Wip:
67+
Enabled: false
6868
```
6969
7070
The `Enabled` property accepts multiple formats:

templates/config/fit_commit.default.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ Validators/SubjectPeriod:
1010
Enabled: true
1111
Validators/CapitalizeSubject:
1212
Enabled: true
13-
Validators/Wip:
14-
Enabled: true
1513
Validators/Frathouse:
1614
Enabled: true
17-
Validators/Foobar:
18-
Enabled: true
15+
Validators/Wip:
16+
Enabled: false

0 commit comments

Comments
 (0)