Skip to content

invalid checkstyle configuration #310

@Bananeweizen

Description

@Bananeweizen

The checkstyle configuration of this project demands newlines to be LF, but doesn't enforce the same setting in the git config:

Therefore anyone checking out this project on Windows may get checkstyle failures, depending on whether or not autocrlf is set or not in the personal git config.

image

What's your preferred way of fixing this? Removing the checkstyle property? Adding a gitconfig which enforces the LF newline? I'd recommend removing the property, and eventually adding another check instead which prohibits mixed line endings, but doesn't care about the kind of local line ending. I would not recommend to try enforcing a specific git configuration, as this always leads to trouble with other projects on the same machine, or company settings, or...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions