mirror of
https://github.com/curl/curl.git
synced 2026-07-30 07:48:02 +03:00
badwords: fix two exceptions and drop them
Also: - extend `dir` rule to exclude C assignments. Closes #19532
This commit is contained in:
parent
f3095f0dbd
commit
af4c789e00
13 changed files with 27 additions and 27 deletions
2
.github/scripts/badwords.txt
vendored
2
.github/scripts/badwords.txt
vendored
|
|
@ -45,7 +45,7 @@ there's:there is
|
|||
^(And|So|But) = Rewrite it somehow?
|
||||
\. But: Rewrite it somehow?
|
||||
\. So : Rewrite without "so" ?
|
||||
dir :directory
|
||||
dir [^=]:directory
|
||||
sub-director:subdirector
|
||||
you'd:you would
|
||||
you'll:you will
|
||||
|
|
|
|||
2
.github/workflows/checksrc.yml
vendored
2
.github/workflows/checksrc.yml
vendored
|
|
@ -176,4 +176,4 @@ jobs:
|
|||
|
||||
# we allow some extra in source code
|
||||
- name: 'badwords'
|
||||
run: grep -Ev '(\\bwill| url | dir )' .github/scripts/badwords.txt | .github/scripts/badwords.pl src lib include
|
||||
run: grep -Ev '(\\bwill)' .github/scripts/badwords.txt | .github/scripts/badwords.pl src lib include
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue