Skip to content

Commit c47affe

Browse files
committed
Update spelling failures check for contributor cheatsheet
1 parent 5a3558b commit c47affe

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

hack/.spelling_failures

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
contributors/guide/contributor-cheatsheet/README-de.md
2-
contributors/guide/contributor-cheatsheet/README-fr.md
3-
contributors/guide/contributor-cheatsheet/README-it.md
4-
contributors/guide/contributor-cheatsheet/README-pt.md
1+
contributors/guide/contributor-cheatsheet/README-[a-z]{2}.md
52
committee-steering/meeting-notes-archive
63
elections/steering/.*/voters.yaml
74
events/2014

hack/verify-spelling.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ misspell="$(go list -m -f '{{.Dir}}' github.com/client9/misspell)"
3030
# All the skipping files are defined in hack/.spelling_failures
3131
skipping_file="${KUBE_ROOT}/hack/.spelling_failures"
3232
failing_packages=$(echo `cat ${skipping_file}` | sed "s| | -e |g")
33-
git ls-files | grep -v -e ${failing_packages} | xargs go run "${misspell}/cmd/misspell" -i "" -error -o stderr
33+
git ls-files | grep -vEe ${failing_packages} | xargs go run "${misspell}/cmd/misspell" -i "" -error -o stderr

0 commit comments

Comments
 (0)