You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 20, 2018. It is now read-only.
At Grist we are in a position that we could use the vip-scanner via wp-cli as a pre-commit script before commits.
Unfortunately there are two issues keeping us from doing this:
Warnings make the scanner return a Failed status -- Our theme has lots of warnings that are accurately diagnosed but are actually benign and have been accepted by a manual review by VIP engineers.
False positives like those noted above.
Firstly, shouldn't Warning results allow the scan to pass? Warnings are about possible dangers, not guaranteed problems right?
Secondly, since chasing down every condition that could lead to false positives and coding against them is impractical, couldn't developers silence certain errors or warnings in their environment so that they can ignore that noise when scanning? The Log Deprecated Notices plugin supports this feature, so maybe the same technique would work here? I'd like our developers to see that their code generates any new warnings - its hard to find the needle in the stack of 50+ existing false positives, etc.
Apologies if this is the wrong place to bring this up. We'd be happy to contribute to this feature if you agree it's valuable.
from @nickdaugherty:
The text was updated successfully, but these errors were encountered: