gecko-dev/tools/lint/codespell.yml

60 строки
1.7 KiB
YAML

---
codespell:
description: Check code for common misspellings
include:
- browser/base/content/docs/
- browser/branding/
- browser/extensions/activity-stream/prerendered/locales/en-US/
- browser/extensions/formautofill/locales/en-US/
- browser/extensions/onboarding/locales/en-US/
- browser/extensions/pocket/locale/en-US/
- browser/extensions/webcompat-reporter/locales/en-US/
- browser/locales/en-US/
- build/docs/
- devtools/client/locales/en-US/
- devtools/shared/locales/en-US/
- devtools/startup/locales/en-US/
- dom/locales/en-US/
- intl/locales/en-US/
- layout/tools/layout-debug/ui/locale/en-US/
- mobile/android/base/locales/en-US/
- mobile/android/branding/
- mobile/android/docs/
- mobile/android/locales/en-US/
- mobile/locales/en-US/
- netwerk/locales/en-US/
- python/docs/
- python/mozlint/
- services/sync/locales/en-US/
- taskcluster/docs/
- testing/mozbase/docs/
- toolkit/components/extensions/docs/
- toolkit/components/telemetry/docs/
- toolkit/crashreporter/docs/
- tools/lint/
exclude:
- third_party
# List of extensions coming from:
# tools/lint/{flake8,eslint}.yml
# tools/mach_commands.py (clang-format)
# + documentation
# + localization files
extensions:
- js
- jsm
- jxs
- xml
- html
- xhtml
- cpp
- c
- h
- configure
- py
- properties
- rst
support-files:
- 'tools/lint/spell/**'
type: external
payload: spell:lint