btkelly / gnag

A Gradle plugin that helps facilitate GitHub PR checking and automatic commenting of violations.
http://gnag.watch
Apache License 2.0
125 stars 14 forks source link

Case insensitive comparisons for AndroidLintExtensions's severity #225

Closed Janani-Subbiah closed 5 years ago

Janani-Subbiah commented 5 years ago

Currently the AndroidLintViolationDetector makes case sensitive comparisons of AndroidLintExtension's severity levels.

Could we move this to being case insensitive? If yes, I think the documentation will also need updating to call this out.

If we decide against moving to case insensitive comparison, it would be nice to have the documentation (in the main README) specify that those values are case sensitive and be used as is.