How to suppress all checks for a file in Checkstyle?
问题 I'm doing an override for a third party class and I want to suppress all checks for it (since I'm only keeping it around until the patch is accepted). Is there a way to suppress all checks for a file? I tried using "*" but that fails. 回答1: Don't know whether you're using command line or in an IDE, but you'll basically need a suppresions file. If you're manually editing the Checkstyle config file, add a new module to it: <module name="SuppressionFilter"> <property name="file" value=