diff --git a/create-codespell-ignored-words-list.sh b/create-codespell-ignored-words-list.sh new file mode 100755 index 00000000000..d9375d82ac6 --- /dev/null +++ b/create-codespell-ignored-words-list.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +# Seems to print out warning messages to the console before finishing successfully +# Example +# WARNING: Cannot decode file using encoding "utf-8": ./main/writerfilter/qa/documents/multimerge2.docx +# WARNING: Trying next encoding "iso-8859-1" + +codespell --skip='./extras' . | cut -f2 -d' ' | tr A-Z a-z | sort | uniq > .github/linters/codespell.txt