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
Currently, I’ve allWarningsAsErrors set to true in my project, but for some reason the Convert to 'data object' warning is not failing the build (unlike other warnings). I got to know that this is an IDE warning and can’t be caught with lint. So I thought of writing a custom lint doing the same.
I was trying to do that and am not able to figure out how to detect even an object keyword.
I tried playing with a custom Detector(), SourceCodeScanner with getApplicableUastTypes and getApplicablePsiTypes but am not able to understand what exact param i need to pass or which exact method i need to observe in the createPsiVisitor / createUastHandler
Any help would be highly appreciated?
The text was updated successfully, but these errors were encountered:
Hi,
Currently, I’ve
allWarningsAsErrors
set to true in my project, but for some reason the Convert to 'data object' warning is not failing the build (unlike other warnings). I got to know that this is an IDE warning and can’t be caught with lint. So I thought of writing a custom lint doing the same.I was trying to do that and am not able to figure out how to detect even an
object
keyword.I tried playing with a custom
Detector(), SourceCodeScanner
withgetApplicableUastTypes
andgetApplicablePsiTypes
but am not able to understand what exact param i need to pass or which exact method i need to observe in the createPsiVisitor / createUastHandler
Any help would be highly appreciated?
The text was updated successfully, but these errors were encountered: