More codespell ignores

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 6872e7da25)
pull/4479/head
Brad Davidson 2021-12-03 13:44:05 -08:00 committed by Brad Davidson
parent 56e3b66b21
commit e550365b1f
1 changed files with 1 additions and 2 deletions

View File

@ -1,9 +1,8 @@
#!/bin/bash
set -e
# Ignore vendor folder and check file names as well
# Note: ignore "ba" in https://github.com/k3s-io/k3s/blob/4317a91/scripts/provision/vagrant#L54
codespell --skip=.git,./vendor,./go.mod,./go.sum --check-filenames --ignore-words-list=ba
codespell --skip=.git,./vendor,MAINTAINERS,go.mod,go.sum --check-filenames --ignore-words-list=ba
code=$?
if [ $code -ne 0 ]; then