Pass --warnings into mozlint #1447
Comments
|
@ahal how noisy are warnings? Right now we are using the |
|
N.B.: We were also considering keeping to report |
|
I missed the questions here, but I don't believe warnings are currently noisy at all. As we add more things at the warning level however, this could very easily change. |
|
This would be nice for https://bugzilla.mozilla.org/show_bug.cgi?id=1353680. |
Once https://bugzilla.mozilla.org/show_bug.cgi?id=1460856 lands, it would be nice if the reviewbot enabled warnings by default.
Warnings wouldn't cause the patch to be backed out, but are still things that we should usually try to fix. So when a patch author gets a 'warning' level issue, they should fix it, but would be totally within their rights to ignore it instead.
This will allow us to enable things like the 'codespell' linter on a much larger set of paths, without needing to worry about false positives as much. Of course, since warnings don't get backed out, we'd need to make sure the reviewbot only displays warnings introduced by the patch. But I think it already handles this.
The text was updated successfully, but these errors were encountered: