summaryrefslogtreecommitdiff
path: root/misc/scripts/codespell.sh
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-02-10 15:16:04 +0100
committerGitHub <noreply@github.com>2022-02-10 15:16:04 +0100
commit242c636a63ac2d8b002ace37388dce9273a9048a (patch)
tree82f8a101fb4461d29bc9dd1e2bc147bb99c706f6 /misc/scripts/codespell.sh
parentf21a62b62027a88ea90de539a48df8e280a820e8 (diff)
parent1bdb82c64e65f23381183051ef1fc9856a7830f8 (diff)
Merge pull request #57909 from akien-mga/codespell
Diffstat (limited to 'misc/scripts/codespell.sh')
-rw-r--r--misc/scripts/codespell.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/scripts/codespell.sh b/misc/scripts/codespell.sh
new file mode 100644
index 0000000000..2822c6421b
--- /dev/null
+++ b/misc/scripts/codespell.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+SKIP_LIST="./thirdparty,*.gen.*,*.po,*.pot,package-lock.json,./core/string/locales.h,./DONORS.md,./misc/scripts/codespell.sh"
+IGNORE_LIST="ba,childs,curvelinear,expct,fave,findn,gird,inout,lod,nd,numer,ois,ro,statics,te,varn"
+
+codespell -w -q 3 -S "${SKIP_LIST}" -L "${IGNORE_LIST}"