Make it easier to add new linters
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Tracking
(Not tracked)
People
(Reporter: ahal, Unassigned)
References
Details
Attachments
(1 file, 2 obsolete files)
I noticed that many of our lint implementations are using very similar patterns. This is an opportunity to consolidate some of the code into a shared place (e.g mozlint.util
). This would make it slightly easier to add new linters in the future and make maintenance easier. We should also re-organize the tools/lint
directory. It is kind of a mess.
Reporter | ||
Comment 1•4 years ago
|
||
I have some patches lying around I want to get landed, so I'll take it for now. But there will be a lot more we can do in this area so will leave the bug open.
Reporter | ||
Comment 2•4 years ago
|
||
Reporter | ||
Comment 3•4 years ago
|
||
This can happen when using --workdir or --outgoing if a modified file was
(re)moved.
Depends on D67410
Reporter | ||
Comment 4•4 years ago
|
||
Depends on D67411
Comment 5•4 years ago
|
||
Comment on attachment 9134284 [details]
Bug 1623433 - [mozlint] LineType linters should not try to open non-existent paths, r?#linter-reviewers!
Revision D67411 was moved to bug 1570654. Setting attachment 9134284 [details] to obsolete.
Updated•4 years ago
|
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/305317042898 [mozlint] Create a LintProcess utility class to consolidate some of our lint implementations, r=linter-reviewers,sylvestre
Comment 7•4 years ago
|
||
bugherder |
Reporter | ||
Updated•4 years ago
|
Comment 8•3 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:ahal, maybe it's time to close this bug?
Reporter | ||
Comment 9•3 years ago
|
||
There's still work to be done here.
Updated•2 years ago
|
Updated•2 years ago
|
Description
•