summaryrefslogtreecommitdiffstats
path: root/tools/lint/codespell.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /tools/lint/codespell.yml
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/lint/codespell.yml')
-rw-r--r--tools/lint/codespell.yml95
1 files changed, 95 insertions, 0 deletions
diff --git a/tools/lint/codespell.yml b/tools/lint/codespell.yml
new file mode 100644
index 0000000000..a76ca12e43
--- /dev/null
+++ b/tools/lint/codespell.yml
@@ -0,0 +1,95 @@
+---
+codespell:
+ description: Check code for common misspellings
+ include:
+ - browser/base/content/docs/
+ - browser/branding/
+ - browser/components/newtab/docs/
+ - browser/components/newtab/content-src/asrouter/docs/
+ - browser/components/places/docs/
+ - browser/components/touchbar/docs/
+ - browser/components/urlbar/docs/
+ - browser/extensions/formautofill/locales/en-US/
+ - browser/extensions/report-site-issue/locales/en-US/
+ - browser/installer/windows/docs/
+ - browser/locales/en-US/
+ - build/docs/
+ - devtools/client/locales/en-US/
+ - devtools/docs/
+ - devtools/shared/locales/en-US/
+ - devtools/startup/locales/en-US/
+ - docs/
+ - dom/docs/
+ - dom/locales/en-US/
+ - gfx/docs/
+ - intl/docs/
+ - intl/locales/en-US/
+ - ipc/docs/
+ - js/src/doc/
+ - layout/tools/layout-debug/ui/content/layoutdebug.ftl
+ - mobile/android/branding/
+ - mobile/android/docs/
+ - mobile/android/locales/en-US/
+ - netwerk/locales/en-US/
+ - netwerk/docs/
+ - python/docs/
+ - python/mach/docs/
+ - python/mozlint/
+ - python/mozperftest/perfdocs/
+ - remote/doc/
+ - security/manager/locales/en-US/
+ - services/settings/docs/
+ - taskcluster/docs/
+ - testing/docs/xpcshell/
+ - testing/geckodriver/doc/
+ - testing/mozbase/docs/
+ - testing/raptor/raptor/perfdocs/
+ - toolkit/components/extensions/docs/
+ - toolkit/components/normandy/docs/
+ - toolkit/components/search/docs/
+ - toolkit/components/telemetry/docs/
+ - toolkit/crashreporter/docs/
+ - toolkit/docs/
+ - toolkit/locales/en-US/
+ - toolkit/modules/docs/
+ - tools/code-coverage/docs/
+ - tools/fuzzing/docs/
+ - tools/lint/
+ - tools/moztreedocs/
+ - tools/profiler/docs/
+ - tools/sanitizer/docs/
+ - tools/tryselect/
+ - uriloader/docs/
+ - xpcom/docs/
+ exclude:
+ - devtools/docs/contributor/tools/storage/
+ - tools/lint/cpp/mingw-headers.txt
+ - tools/lint/test/test_codespell.py
+ - "**/package-lock.json"
+ # 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/**'
+ type: external
+ setup: spell:setup
+ payload: spell:lint