In Settings > Plugins search for Checkstyle and install it. After restarting IntelliJ configure the plugin by navigating to Settings > Other Settings > Checkstyle
See checkstyle_settings.png
The configuration for basic RagedUnicorn projects can be found here: checkstyle-editor.xml
Checkstyle can be run in the tools window. See checkstyle_run.png.