-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(policy): add imperative mood check (#108)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
- Loading branch information
1 parent
86a7d3e
commit 5c6620a
Showing
10 changed files
with
473 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
package commit | ||
|
||
// BlackList is the set of black listed imperative verbs. | ||
var BlackList = []string{ | ||
"a", | ||
"an", | ||
"the", | ||
"action", | ||
"always", | ||
"api", | ||
"base", | ||
"basic", | ||
"business", | ||
"calculation", | ||
"callback", | ||
"collection", | ||
"common", | ||
"constructor", | ||
"convenience", | ||
"convenient", | ||
"current", | ||
"currently", | ||
"custom", | ||
"data", | ||
"data", | ||
"default", | ||
"deprecated", | ||
"description", | ||
"dict", | ||
"dictionary", | ||
"does", | ||
"dummy", | ||
"example", | ||
"factory", | ||
"false", | ||
"final", | ||
"formula", | ||
"function", | ||
"generic", | ||
"handler", | ||
"handler", | ||
"helper", | ||
"here", | ||
"hook", | ||
"implementation", | ||
"importantly", | ||
"internal", | ||
"it", | ||
"main", | ||
"method", | ||
"module", | ||
"new", | ||
"number", | ||
"optional", | ||
"package", | ||
"placeholder", | ||
"reference", | ||
"result", | ||
"same", | ||
"schema", | ||
"setup", | ||
"should", | ||
"simple", | ||
"some", | ||
"special", | ||
"sql", | ||
"standard", | ||
"static", | ||
"string", | ||
"subclasses", | ||
"that", | ||
"these", | ||
"this", | ||
"true", | ||
"unique", | ||
"unit", | ||
"utility", | ||
"what", | ||
"wrapper", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.