Skip to content

Commit 250db8f

Browse files
authored
Merge pull request #1212 from carabasdaniel/pattern-lint-ignore
[MODULES-11195] Add lint-ignore for pattern length
2 parents fc7513c + ad9c055 commit 250db8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

types/email.pp

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address
2+
# lint:ignore:140chars
23
type Stdlib::Email = Pattern[/\A[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*\z/]
4+
# lint:endignore

0 commit comments

Comments
 (0)