tools/lint/shellcheck.yml
author Rob Lemley <rob@thunderbird.net>
Wed, 25 Mar 2020 16:36:56 -0400
changeset 37920 55f47e24fe840ee2607e5ad1a461a0813f9bf331
parent 37919 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.

---
shellcheck:
    description: Shell script linter
    include:
        - .
    exclude: []
    # 1090: https://github.com/koalaman/shellcheck/wiki/SC1090
    # 'Can't follow a non-constant source'
    extensions: ['sh']
    support-files:
        - 'tools/lint/shell/**'
    excludecodes: ['1090', '1091']
    type: external
    payload: commlint:lint_wrapper
    wraps: shell:lint