After upgrading to the latest IDEA the IDE throws error messages in every few minutes like
This is caused by some backward incompatible changes in checkstyle source code:
- 8.1: Make SuppressionCommentFilter and SuppressWithNearbyCommentFilter children of TreeWalker.
- 8.2: remove FileContentsHolder module as FileContents object is available for filters on TreeWalker in TreeWalkerAudit Event.
IDEA uses checkstyle 8.8
We should upgrade our checkstyle version to be compatible with IDEA's checkstyle plugin.
Also it's a good time to upgrade maven-checkstyle-plugin as well to brand new 3.0.