tools/lint/codespell.yml
author Rob Lemley <rob@thunderbird.net>
Wed, 25 Mar 2020 16:36:56 -0400
changeset 38808 55f47e24fe840ee2607e5ad1a461a0813f9bf331
parent 38807 a50b3018a35d526bf304363a26adc2086b82d050
permissions -rw-r--r--
Bug 1623907 - Do not check suite code with mozlint when running on Taskcluster. r=darktrojan The Seamonkey project does not use Taskcluster for builds, but they are working on using mozlint. In order to accommodate both projects and minimize duplicate code, when MOZLINT_NO_SUITE is set, comm/suite and comm/editor will get added to the exclude list. This makes it easy for Thunderbird developers to do the same when running "mach lint" locally.

---
codespell:
    description: Check code for common misspellings
    include:
        - .
    # 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
        - md
        - ftl
    support-files:
        - 'tools/lint/spell/**'
    type: external
    setup: spell:setup
    payload: commlint:lint_wrapper
    wraps: spell:lint