Ban jetbrains annotations imports

Closes gh-28226
This commit is contained in:
Yanming Zhou
2022-03-24 09:00:03 +08:00
committed by Brian Clozel
parent 8fc744f4f4
commit acf2955b96
2 changed files with 7 additions and 3 deletions

View File

@@ -134,6 +134,11 @@
<property name="regexp" value="true" />
<property name="illegalClasses" value="^org\.hamcrest\..+" />
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck">
<property name="id" value="bannedJetbrainsAnnotationsImports"/>
<property name="regexp" value="true" />
<property name="illegalClasses" value="^org\.jetbrains\.annotations\..+" />
</module>
<!-- Javadoc Comments -->
<module name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck">