summaryrefslogtreecommitdiffstats
path: root/comm/tools/lint/codespell.yml
blob: 08b68aac81d1912802dad925204fb9d2df7c9ff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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