Last active
October 17, 2019 14:57
-
-
Save martinbonnin/5530657cda9389cb04a5cf1020778048 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<lint> | |
<issue id="UnusedAttribute" severity="warning"> | |
<!-- Ignore the specified issue if the location matched this path --> | |
<ignore path="**/AndroidManifest.xml"/> | |
<!-- Ignore the specified issue if the message or the location matches the regex --> | |
<ignore regexp="networkSecurityConfig"/> | |
<!-- path takes precedence over regexp so it's no use adding both --> | |
<!--<ignore path="**/AndroidManifest.xml" regexp="networkSecurityConfig"/>--> | |
</issue> | |
<!-- You can also specify a list of ids --> | |
<issue id="UnusedAttribute, MissingTranslation" severity="error"/> | |
<!-- Nodes overrides the previous ones. UnusedAttribute will become ignored after this --> | |
<issue id="UnusedAttribute, MissingTranslation" severity="ignore"/> | |
<!-- "all" is a special id that will be used as a fallback for ids that are not defined elsewhere in the | |
XML. Putting it last will not overwrite the issues above. Here, we mark any unspecified issue as fatal --> | |
<issue id="all" severity="fatal"/> | |
<!-- Any number of additional issue nodes --> | |
<issue ... | |
</lint> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment