diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 00000000000..64a29fe6026 --- /dev/null +++ b/.codespellrc @@ -0,0 +1,3 @@ +[codespell] +skip = ./vendor,./.git,./go.sum,./docs/*.1,./docker/AUTHORS,./CHANGELOG.md,./changelog.txt,./tests/tools/vendor,./tests/tools/go.mod,./tests/tools/go.sum +ignore-words-list = fo,passt,secon,erro diff --git a/Makefile b/Makefile index 18022dcbb58..24ae0ca4ff0 100644 --- a/Makefile +++ b/Makefile @@ -120,7 +120,7 @@ docs: install.tools ## build the docs on the host $(MAKE) -C docs codespell: - codespell -S Makefile,buildah.spec.rpkg,AUTHORS,bin,vendor,.git,go.mod,go.sum,CHANGELOG.md,changelog.txt,seccomp.json,.cirrus.yml,"*.xz,*.gz,*.tar,*.tgz,*ico,*.png,*.1,*.5,*.orig,*.rej" -L secon,passt,bu,uint,iff,od,erro -w + codespell -w .PHONY: validate validate: install.tools