Open Bug 1623433 Opened 4 years ago Updated 2 years ago

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.

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.

Assignee: nobody → ahal
Status: NEW → ASSIGNED
Keywords: leave-open

This can happen when using --workdir or --outgoing if a modified file was
(re)moved.

Depends on D67410

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.

Attachment #9134284 - Attachment is obsolete: true
Attachment #9134286 - Attachment is obsolete: true
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
Regressions: 1624038
Assignee: ahal → nobody
Status: ASSIGNED → NEW

The leave-open keyword is there and there is no activity for 6 months.
:ahal, maybe it's time to close this bug?

Flags: needinfo?(ahal)

There's still work to be done here.

Flags: needinfo?(ahal)
Keywords: leave-open
Product: Firefox Build System → Developer Infrastructure
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: