mach commlint
command. Simply pass in the directory or file you wish to lint (defaults to current working directory):mach lint
, however it has Thunderbird configs pre-applied. If you're not familiar with using mach lint
on Firefox code, see the Firefox Linting documentation to get started.comm/tools/lint
are written so that they can be shared with the Seamonkey project. Thunderbird developers may want to set MOZLINT_NO_SUITE=1
in their environment so mach commlint
will not check comm/suite/
. Taskcluster will also set MOZLINT_NO_SUITE
when running lint checks.comm/taskcluster/ci/source-test/mozlint.yml
.