summaryrefslogtreecommitdiffstats
path: root/comm/tools/lint/codespell.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /comm/tools/lint/codespell.yml
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'comm/tools/lint/codespell.yml')
-rw-r--r--comm/tools/lint/codespell.yml47
1 files changed, 47 insertions, 0 deletions
diff --git a/comm/tools/lint/codespell.yml b/comm/tools/lint/codespell.yml
new file mode 100644
index 0000000000..08b68aac81
--- /dev/null
+++ b/comm/tools/lint/codespell.yml
@@ -0,0 +1,47 @@
+---
+codespell:
+ description: Check code for common misspellings
+ include:
+ - comm/calendar/locales/en-US/
+ - comm/chat/locales/en-US/
+ - comm/mail/branding/
+ - comm/mail/components/telemetry/
+ - comm/mail/locales/en-US/
+ - comm/mailnews/extensions/fts3/
+ - comm/python/
+ - comm/taskcluster/docs/
+ - comm/third_party/
+ - comm/README.md
+ exclude:
+ # Timezones have oddly spelled words that tend to confuse codespell
+ - comm/calendar/locales/en-US/chrome/calendar/timezones.properties
+ - comm/mailnews/extensions/fts3/fts3_porter.c
+ # List of extensions coming from:
+ # tools/lint/{flake8,eslint}.yml
+ # tools/mach_commands.py (clang-format)
+ # + documentation
+ # + localization files
+ extensions:
+ - js
+ - jsm
+ - jxs
+ - mjs
+ - xml
+ - html
+ - xhtml
+ - cpp
+ - c
+ - h
+ - configure
+ - py
+ - properties
+ - rst
+ - md
+ - ftl
+ support-files:
+ - 'tools/lint/spell/**'
+ - 'comm/tools/lint/spell/**'
+ type: external
+ setup: spell:setup
+ payload: commlint:lint_wrapper
+ wraps: spell:lint