summaryrefslogtreecommitdiffstats
path: root/tools/lint/codespell.yml
blob: 1737c12d2c9c3c910c20b101d2113cef14039434 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
---
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/
        - services/sync/locales/en-US/
        - 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
        - docs/mots/index.rst
        - "**/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