Add lint rule

This commit is contained in:
Benoit Marty 2022-02-24 22:03:42 +01:00 committed by Benoit Marty
parent b8a0aa724e
commit e171fd2eff

View File

@ -14,6 +14,26 @@
<issue id="IconExpectedSize" severity="error" />
<issue id="LocaleFolder" severity="error" />
<!-- String resource has to be used, for the rest we can ignore for now
TODO: stop ignoring warning at all those location -->
<issue id="UnusedResources" severity="error">
<ignore path="**/build.gradle" />
<ignore path="**/anim/**" />
<ignore path="**/color/**" />
<ignore path="**/drawable*/**" />
<ignore path="**/layout/**" />
<ignore path="**/menu/**" />
<ignore path="**/raw/**" />
<ignore path="**/values/dimens.xml" />
<ignore path="**/values/colors.xml" />
<ignore path="**/values/palette.xml" />
<ignore path="**/values/palette_mobile.xml" />
<ignore path="**/values/donottranslate.xml" />
<ignore path="**/values/strings_login_v2.xml" />
<ignore path="**/library/ui-styles/src/main/res/values/**" />
<ignore path="**/xml/**" />
</issue>
<!-- UX -->
<issue id="ButtonOrder" severity="error" />
<issue id="TextFields" severity="error" />