-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
28 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,8 @@ | |
"thelper", | ||
"paralleltest", | ||
"ireturn", | ||
"gomnd" | ||
"gomnd", | ||
"nolintlint" | ||
] | ||
}, | ||
"linters-settings": { | ||
|
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 |
---|---|---|
|
@@ -54,10 +54,10 @@ func (HelperDialect) HostnameRFC1123() dialect.Token { | |
// Hostname is validated considering RFC-1123. | ||
// | ||
// Localpart is unquoted, and may use any of these ASCII characters: | ||
// - uppercase and lowercase Latin letters A to Z and a to z, digits 0 to 9 | ||
// - printable characters !#$%&'*+-/=?^_`{|}~ | ||
// - dot ., provided that it is not the first or last character and provided | ||
// also that it does not appear consecutively (e.g., [email protected] is not allowed). | ||
// - uppercase and lowercase Latin letters A to Z and a to z, digits 0 to 9 | ||
// - printable characters !#$%&'*+-/=?^_`{|}~ | ||
// - dot ., provided that it is not the first or last character and provided | ||
// also that it does not appear consecutively (e.g., [email protected] is not allowed). | ||
func (h HelperDialect) Email() dialect.Token { | ||
localCharsWithoutDot := Common.Class( | ||
Chars.Alphanumeric(), | ||
|
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