-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only check if descriptions *start with* FIXME/TODO
It doesn't make much sense to just forbid certain words in descriptions.
- Loading branch information
1 parent
c693b89
commit 7890c98
Showing
2 changed files
with
15 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -381,7 +381,7 @@ def validate_licenses | |
end | ||
|
||
LAZY = '"FIxxxXME" or "TOxxxDO"'.gsub(/xxx/, '') | ||
LAZY_PATTERN = /FI XME|TO DO/x.freeze | ||
LAZY_PATTERN = /^FI XME|^TO DO/x.freeze | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
duckinator
Author
Member
|
||
HOMEPAGE_URI_PATTERN = /\A[a-z][a-z\d+.-]*:/i.freeze | ||
|
||
def validate_lazy_metadata | ||
|
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
Staring the entire string, or any lines in it?
If you intended the former,
/\A(?:FIXME|TODO)/
will fit more.