Revert line_forbidden.patterns

This commit is contained in:
VictoriousRaptor 2025-07-16 10:02:58 +08:00 committed by GitHub
parent e3e8eff5c9
commit 5ed017b026
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,62 +1,62 @@
## reject `m_data` as there's a certain OS which has evil defines that break things if it's used elsewhere
## \bm_data\b
#
## If you have a framework that uses `it()` for testing and `fit()` for debugging a specific test,
## you might not want to check in code where you were debugging w/ `fit()`, in which case, you might want
## to use this:
##\bfit\(
#
## s.b. GitHub
##\bGithub\b
#
## s.b. GitLab
#\bGitlab\b
#
## s.b. JavaScript
#\bJavascript\b
#
## s.b. Microsoft
#\bMicroSoft\b
#
## s.b. another
#\ban[- ]other\b
#
## s.b. greater than
#\bgreater then\b
#
## s.b. into
#\sin to\s
#
## s.b. opt-in
#\sopt in\s
#
## s.b. less than
#\bless then\b
#
## s.b. otherwise
#\bother[- ]wise\b
#
## s.b. nonexistent
#\bnon existing\b
#\b[Nn]o[nt][- ]existent\b
#
## s.b. preexisting
#[Pp]re[- ]existing
#
## s.b. preempt
#[Pp]re[- ]empt\b
#
## s.b. preemptively
#[Pp]re[- ]emptively
#
## s.b. reentrancy
#[Rr]e[- ]entrancy
#
## s.b. reentrant
#[Rr]e[- ]entrant
#
## s.b. workaround(s)
#\bwork[- ]arounds?\b
#
## Reject duplicate words
#\s([A-Z]{3,}|[A-Z][a-z]{2,}|[a-z]{3,})\s\g{-1}\s
# reject `m_data` as there's a certain OS which has evil defines that break things if it's used elsewhere
# \bm_data\b
# If you have a framework that uses `it()` for testing and `fit()` for debugging a specific test,
# you might not want to check in code where you were debugging w/ `fit()`, in which case, you might want
# to use this:
#\bfit\(
# s.b. GitHub
#\bGithub\b
# s.b. GitLab
\bGitlab\b
# s.b. JavaScript
\bJavascript\b
# s.b. Microsoft
\bMicroSoft\b
# s.b. another
\ban[- ]other\b
# s.b. greater than
\bgreater then\b
# s.b. into
\sin to\s
# s.b. opt-in
\sopt in\s
# s.b. less than
\bless then\b
# s.b. otherwise
\bother[- ]wise\b
# s.b. nonexistent
\bnon existing\b
\b[Nn]o[nt][- ]existent\b
# s.b. preexisting
[Pp]re[- ]existing
# s.b. preempt
[Pp]re[- ]empt\b
# s.b. preemptively
[Pp]re[- ]emptively
# s.b. reentrancy
[Rr]e[- ]entrancy
# s.b. reentrant
[Rr]e[- ]entrant
# s.b. workaround(s)
\bwork[- ]arounds?\b
# Reject duplicate words
\s([A-Z]{3,}|[A-Z][a-z]{2,}|[a-z]{3,})\s\g{-1}\s