Did you do step 4 "Select /6.19/ in the “Checkstyle Version” dropdown and click apply.*"?
*
On 22.08.2017 14:53, Michael Fong wrote:
Hi,

Thanks to your swift reply.

IntelliJ complains about checkstyle rules with the following exception:

org.infernus.idea.checkstyle.exception.CheckStylePluginException: <html><b>The Checkstyle rules file could not be parsed.</b><br>SuppressionCommentFilter is not allowed as a child in Checker<br>The file has been blacklisted for 60s.</html> at org.infernus.idea.checkstyle.checker.CheckerFactory.blacklistAndShowMessage(CheckerFactory.java:197) at org.infernus.idea.checkstyle.checker.CheckerFactory.blacklistAndShowMessage(CheckerFactory.java:213) at org.infernus.idea.checkstyle.checker.CheckerFactory.createChecker(CheckerFactory.java:145) at org.infernus.idea.checkstyle.checker.CheckerFactory.getOrCreateCachedChecker(CheckerFactory.java:75) at org.infernus.idea.checkstyle.checker.CheckerFactory.checker(CheckerFactory.java:57)
      ...

Thanks!

Attached the screenshot, hope this would help.
Inline image 1

On Tue, Aug 22, 2017 at 8:41 PM, Chesnay Schepler <ches...@apache.org <mailto:ches...@apache.org>> wrote:

    The IDE setup guide you tried is what most people i know are using.

    Can you tell us how these didn't work for you?


    On 22.08.2017 14 <tel:22.08.2017%2014>:30, Michael Fong wrote:

        Hi, all,


        I am new to this community and would like to make some
        contributions to
        this awesome project.

        While I was exploring the source code, I noticed there is a
        maven tests
        that verify the checkstyle of java codes. Something like the
        following
        would pop up after executing `mvn clean install` or `mvn verify`
        ################
        [ERROR] Failed to execute goal
        org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
        (validate) on
        project flink-connector-cassandra_2.11: You have 112
        Checkstyle violations.
        -> [Help 1]
        ################

        Would there there any IDE based checkstyle / auto-format that
        could assist
        me for this purpose?  I currently use IntelliJ (the latest
        build) for most
        of my development. I tried to to install the checkstyle rules
        instructed on
        
https://github.com/apache/flink/blob/master/docs/internals/ide_setup.md#intellij-idea
        
<https://github.com/apache/flink/blob/master/docs/internals/ide_setup.md#intellij-idea>,
        but did not succeed.

        Thanks in advance!

        Sincerely,

        Michael Fong




Reply via email to