mirror of
https://github.com/curl/curl.git
synced 2026-06-06 15:34:15 +03:00
typos: move exclusiont to config, after finding the --force-exclude option
This commit is contained in:
parent
0eec37c17c
commit
2bf9c4f247
2 changed files with 13 additions and 6 deletions
11
.github/scripts/typos.sh
vendored
11
.github/scripts/typos.sh
vendored
|
|
@ -7,9 +7,8 @@ set -eu
|
|||
|
||||
cd "$(dirname "${0}")"/../..
|
||||
|
||||
git ls-files \
|
||||
| grep -v -E '(codespell-ignore\.txt|spellcheck\.words|/wcurl|/THANKS)' \
|
||||
| typos \
|
||||
--isolated \
|
||||
--config '.github/scripts/typos.toml' \
|
||||
--file-list -
|
||||
git ls-files | typos \
|
||||
--isolated \
|
||||
--force-exclude \
|
||||
--config '.github/scripts/typos.toml' \
|
||||
--file-list -
|
||||
|
|
|
|||
8
.github/scripts/typos.toml
vendored
8
.github/scripts/typos.toml
vendored
|
|
@ -10,3 +10,11 @@ extend-ignore-identifiers-re = [
|
|||
"(HEADE|numer|optin|parms|stati|ttests)",
|
||||
"(Januar|passin|Passiv|perfec|PUNICODE|TEMPLAT|varius)",
|
||||
]
|
||||
|
||||
[files]
|
||||
extend-exclude = [
|
||||
".github/scripts/codespell-ignore.txt",
|
||||
".github/scripts/spellcheck.words",
|
||||
"docs/THANKS",
|
||||
"scripts/wcurl",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue