<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
          "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
          "https://checkstyle.org/dtds/configuration_1_3.dtd">

<module name="Checker">
    <property name="charset" value="UTF-8"/>

    <!-- Hard coded until https://issues.apache.org/jira/browse/MCHECKSTYLE-332 is released. -->
    <property name="cacheFile" value="target/cache_non_main_files"/>

    <!-- Suppressions for resources -->
    <module name="SuppressionFilter">
        <property name="file"
                  value="${project.basedir}/config/checkstyle_non_main_files_suppressions.xml"/>
    </module>
    <!-- Miscellaneous -->
    <module name="NewlineAtEndOfFile" />
    <module name="RegexpSingleline">
      <!-- catch lines above 100 symbols -->
      <property name="format"
                value="^(?!(.*href|.*http|import|.* com.*|.*com/.*|.* files=)).{101,}$"/>
      <property name="message" value="Line should not be longer than 100 symbols"/>
    </module>
</module>
