releases-comm-central/tools/lint/codespell.yml

51 строка
1.3 KiB
YAML

---
codespell:
description: Check code for common misspellings
include:
- comm/calendar/locales/en-US/
- comm/chat/locales/en-US/
- comm/docs/
- comm/mail/branding/
- comm/mail/installer/windows/docs/
- comm/mail/locales/en-US/
- comm/mailnews/extensions/fts3/
- comm/python/
- comm/taskcluster/comm_taskgraph/
- 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
- rs
support-files:
- 'tools/lint/spell/**'
- 'comm/tools/lint/spell/**'
type: external
setup: spell:setup
payload: commlint:lint_wrapper
wraps: spell:lint