Closed Bug 1869405 Opened 2 years ago Closed 2 years ago

Make sure third_party/rust is excluded from all linting

Categories

(Thunderbird :: Build Config, task)

Tracking

(Not tracked)

RESOLVED FIXED
122 Branch

People

(Reporter: rjl, Assigned: rjl)

References

Details

Attachments

(2 files)

Vendored Rust code is coming to comm-central and needs to be excluded from lint checks prior to landing bug 1860654.

Assignee: nobody → rob
See Also: → 1869063

This change will ensure that mach commlint only presents linters with config
files in /comm/tools/lint as valid. There is no fallback to using configs in
/tools/lint.

Originally mach commlint was set up to use linter config files from /tools/lint
(mozilla-central) as a fallback when a linter had no file in /comm/tools/lint.

Thunderbird's needs have evolved since, and using linter configs from gecko cause
more problems than useful feedback, mostly due to missing path excludes.

Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/3306e272785b
mach commlint should not use unconfigured linters. r=dandarnell
https://hg.mozilla.org/comm-central/rev/4ca82c524815
Ensure vendored Rust code and associated generated files are not linted. r=ikey

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: