Update spelling failures check for contributor cheatsheet

This commit is contained in:
Christoph Blecker 2023-12-16 21:00:09 -05:00
parent 5a3558be9e
commit c47affe262
No known key found for this signature in database
GPG Key ID: B34A59A9D39F838B
2 changed files with 2 additions and 5 deletions

View File

@ -1,7 +1,4 @@
contributors/guide/contributor-cheatsheet/README-de.md
contributors/guide/contributor-cheatsheet/README-fr.md
contributors/guide/contributor-cheatsheet/README-it.md
contributors/guide/contributor-cheatsheet/README-pt.md
contributors/guide/contributor-cheatsheet/README-[a-z]{2}.md
committee-steering/meeting-notes-archive
elections/steering/.*/voters.yaml
events/2014

View File

@ -30,4 +30,4 @@ misspell="$(go list -m -f '{{.Dir}}' github.com/client9/misspell)"
# All the skipping files are defined in hack/.spelling_failures
skipping_file="${KUBE_ROOT}/hack/.spelling_failures"
failing_packages=$(echo `cat ${skipping_file}` | sed "s| | -e |g")
git ls-files | grep -v -e ${failing_packages} | xargs go run "${misspell}/cmd/misspell" -i "" -error -o stderr
git ls-files | grep -vEe ${failing_packages} | xargs go run "${misspell}/cmd/misspell" -i "" -error -o stderr