Skip to content

Have a way for eclipse-cs to use the same checkstyle version as the maven plugin #222

Description

@victornoel

checkstyle 8.24 was released and introduced breaking changes which required moving around the declaration of one of the checker (see https://checkstyle.sourceforge.io/releasenotes.html#Release_8.24).

It also introduced a new option for this checker and now, when eclipse-cs tries to load the checkstyle configuration, it fails with:

com.puppycrawl.tools.checkstyle.api.CheckstyleException: cannot initialize module LineLength - Property 'fileExtensions' does not exist, please check the documentation

This is problematic especially because we can't be sure that both the eclipse installations of users and the maven configuration exactly use the same version of checkstyle.

I think an elegant solution to this problem would be to replace the dependency of checkstyle from eclipse-cs with the one specified in the pom.xml.

This is maybe not an easy endeavour and will most certainly require having eclipse-cs evolve…

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions