Make sure third_party/rust is excluded from all linting
Categories
(Thunderbird :: Build Config, task)
Tracking
(Not tracked)
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 | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
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
| Assignee | ||
Updated•2 years ago
|
Description
•