From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- comm/tools/lint/codespell.yml | 47 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 comm/tools/lint/codespell.yml (limited to 'comm/tools/lint/codespell.yml') 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 -- cgit v1.2.3