<?xml version="1.0" encoding="UTF-8"?>
<lint>
  <issue id="AllowBackup">
    <ignore path="src/internal/AndroidManifest.xml" />
  </issue>

  <issue id="IconColors" severity="ignore"/>

  <issue id="InvalidPackage" severity="ignore" />

  <issue id="MissingTranslation" severity="ignore" />

  <!-- Overdraw flags many view files that aren't used as roots in layouts. -->
  <issue id="Overdraw" severity="ignore" />

  <issue id="Typos" severity="ignore" />

  <issue id="GoogleAppIndexingWarning">
    <ignore path="src/internal/AndroidManifest.xml" />
  </issue>

  <!-- These typically come from externally translated strings -->
  <issue id="TypographyDashes" severity="ignore" />
  <issue id="TypographyEllipsis" severity="ignore" />

  <!-- Code generated by Butterknife sporadically breaks builds, related to this issue:
   https://github.com/JakeWharton/butterknife/issues/338
   Still broken in ButterKnife 7.0.1, check again when the version is updated. -->
  <issue id="ResourceType">
    <ignore path="**/*$$ViewBinder.java" />
  </issue>

  <issue id="TrustAllX509TrustManager">
    <!-- We don't make HTTP requests using Jsoup, safe to ignore. -->
    <ignore path="org/jsoup/helper/*" severity="ignore" />
  </issue>

  <!-- UseCompoundDrawables suggests combining a LinearLayout with an ImageView and TextView into a single
     TextView with the image as the drawable, but typically our ImageViews require fetching an image dynamically
     rather than simply specifiying a drawable. -->
  <issue id="UseCompoundDrawables" severity="ignore" />

  <issue id="UnusedResources">
    <!-- Keeping colors around in case we need them. -->
    <ignore path="src/main/res/values/colors.xml" />

    <!-- Will need this when we allow following friends. -->
    <ignore path="src/main/res/drawable-*/ic_follow.png" />

    <!-- Too many false-positives -->
    <ignore path="src/main/res/layout/**" />
    <ignore path="src/main/res/values/strings*.xml" />
    <ignore path="src/internal/res/**" />
    <ignore path="src/main/res/**" />

    <!-- Confirmed false-positives -->
    <ignore path="**/res/google-services/**/values/values.xml" />
    <ignore path="src/main/res/drawable-*/ic_kickstarter_k.png" />
    <ignore path="src/main/res/anim/fade_out.xml" />
    <ignore path="src/main/res/anim/slide_in_bottom.xml" />
    <ignore path="src/main/res/menu/login_help_menu.xml" />
  </issue>
</lint>
