Inconsistent Code Style

Issue #1342 open
Johan Warnar Lando Boekkooi created an issue

Hey all,

While working on the Okapi code I noticed that we have a lot of different code styles around.

I have noticed that maven-checkstyle-plugin is available but it’s not enforced (which seem to also not be supported based on issue 7427).

There however seems to be support for checkstyle as part of openrewrite via the rewrite-maven-plugin another option would be to use for example Spotless.

What do y’all think? Should okapi use and enforce a codestyle?

Cheers,
Warnar

Comments (1)

  1. jhargrave-straker
    • changed status to open

    One of my main standing goals for Okapi is to simplify, make more consistent and remove redundant and infrequently used code.

    That said, I worry about adding another development barrier like enforcing code styles. I'm not even keen to enforce standard formatting.

  2. Log in to comment