Skip to content

Commit

Permalink
Whitelist verbs from CrossHair (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
mristin authored Aug 28, 2021
1 parent 1fb038a commit a8bd878
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
12 changes: 11 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8851,7 +8851,17 @@ exports.SET = new Set([
'tweak',
'tune',
'reset',
're-set'
're-set',
'scale',
're-scale',
'rescale',
'dry',
'augment',
'favor',
'optimize',
'optimise',
'default',
'patch'
]);


Expand Down
10 changes: 10 additions & 0 deletions local/powershell/OpinionatedCommitMessage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ $frequentVerbs = @(
'attempt',
'attend',
'attract',
'augment',
'avoid',
'awake',
'back',
Expand Down Expand Up @@ -238,6 +239,7 @@ $frequentVerbs = @(
'declare',
'deconstruct',
'deduplicate',
'default',
'defeat',
'defend',
'define',
Expand Down Expand Up @@ -285,6 +287,7 @@ $frequentVerbs = @(
'drink',
'drive',
'drop',
'dry',
'duplicate',
'earn',
'eat',
Expand Down Expand Up @@ -337,6 +340,7 @@ $frequentVerbs = @(
'fail',
'fall',
'fault',
'favor',
'fear',
'feature',
'feed',
Expand Down Expand Up @@ -514,6 +518,8 @@ $frequentVerbs = @(
'omit',
'open',
'operate',
'optimise',
'optimize',
'order',
'organise',
'organize',
Expand All @@ -525,6 +531,7 @@ $frequentVerbs = @(
'paint',
'partake',
'pass',
'patch',
'pay',
'perform',
'permit',
Expand Down Expand Up @@ -580,6 +587,7 @@ $frequentVerbs = @(
're-enable',
're-instate',
're-order',
're-scale',
're-set',
're-wrap',
'reach',
Expand Down Expand Up @@ -635,6 +643,7 @@ $frequentVerbs = @(
'represent',
'request',
'require',
'rescale',
'research',
'reset',
'reside',
Expand Down Expand Up @@ -668,6 +677,7 @@ $frequentVerbs = @(
'sample',
'save',
'say',
'scale',
'score',
'search',
'secure',
Expand Down
12 changes: 11 additions & 1 deletion src/mostFrequentEnglishVerbs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -762,5 +762,15 @@ export const SET = new Set([
'tweak',
'tune',
'reset',
're-set'
're-set',
'scale',
're-scale',
'rescale',
'dry',
'augment',
'favor',
'optimize',
'optimise',
'default',
'patch'
]);

0 comments on commit a8bd878

Please sign in to comment.