Skip to content

Commit 130ced8

Browse files
authored
Add "rewrite" and "refactor" to verbs (#7)
This extends the list of most frequent verbs with "rewrite" and "refactor", a widely used verbs in the context of programming.
1 parent 77f2d6f commit 130ced8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mristin/opinionated-commit-message",
3-
"version": "1.0.0",
3+
"version": "1.0.0post1",
44
"description": "Github Action to check commit messages according to an opinionated style",
55
"keywords": [
66
"github",

Diff for: src/mostFrequentEnglishVerbs.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -651,5 +651,9 @@ export const SET = new Set([
651651
'work',
652652
'workout',
653653
'worry',
654-
'write'
654+
'write',
655+
656+
// Programming-specific verbs
657+
'rewrite',
658+
'refactor'
655659
]);

0 commit comments

Comments
 (0)