Skip to content

Commit

Permalink
Tolerate flag forms of -Id/-Uri
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Jan 12, 2025
1 parent ef21ada commit 92f11fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/actions/spelling/line_forbidden.patterns
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@
# Should be `greater than`
\bhigher than\b

# Should be `ID`
\bId\b
# Should be `ID` (unless it's a flag/property)
(?<![-\.])\bId\b(?![(])

# Should be `in front of`
\bin from of\b
Expand Down Expand Up @@ -268,8 +268,8 @@
# Should be `understand`
\bunder stand\b

# Should be `URI` or `uri` unless it refers to a person named `Uri`
(?<!\.)\bUri\b(?![(])
# Should be `URI` or `uri` unless it refers to a person named `Uri` (or a flag)
(?<![-\.])\bUri\b(?![(])

# Should be `it uses is`
/\bis uses is\b/
Expand Down

0 comments on commit 92f11fa

Please sign in to comment.