config/intellij-idea-inspection-scope.xml (3 lines of code) (raw):
<!-- ATTENTION: this file is not used by TeamCity, all excludes should be specified in build configuration -->
<component name="DependencyValidationManager">
<scope name="Checkstyle Inspection Scope" pattern="!file:target//*&&!file:src/test/resources*//**&&!file:src/it/resources*//**&&!file:src/test/java/com/puppycrawl/tools/checkstyle/grammars/javadoc/ParseTreeBuilder.java&&!file:src/site/resources/js/google-analytics.js&&!file:config/intellij-idea-inspections.properties"/>
</component>