chromium/tools/android/checkstyle/unused-imports.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">

<!--
  See installation instructions: https://sites.google.com/a/chromium.org/dev/developers/checkstyle
-->
<module name="Checker">
  <property name="severity" value="warning"/>
  <property name="charset" value="UTF-8"/>
  <module name="SuppressionFilter">
    <property name="file" value="tools/android/checkstyle/suppressions.xml"/>
  </module>
  <module name="SuppressWarningsFilter"/>
  <module name="TreeWalker">
    <module name="SuppressWarningsHolder"/>
    <module name="RedundantImport">
      <message key="import.redundant" value="Redundant import: {0}."/>
      <property name="severity" value="error"/>
    </module>
    <module name="UnusedImports">
      <message key="import.unused" value="Unused import: {0}."/>
      <property name="severity" value="error"/>
      <property name="processJavadoc" value="true"/>
    </module>
  </module>
</module>