Page MenuHomePhabricator

Add code styles rules to analytics-refinery-source
Open, Needs TriagePublic

Description

It seems we have accumulated multiple code styles over the years on analytics-refinery-source.

Repo: https://gerrit.wikimedia.org/r/plugins/gitiles/analytics/refinery/source/

In this task we should:

  • Implement a code style
  • Make it run as part of mvn compile.
  • Perhaps retroactively apply it to all existing code?

Event Timeline

We definitely already have the maven-checkstyle-plugin set up in the main pom.xml - I know because it's very annoying since the codebase doesn't seem to conform to the style being checked, and on each compile it produces a ton of ERRORs in output.

We even have the noVerify maven profile that turns the checkstyle plugin off.

That being said, I'm not sure if we should even bother fixing the checkstyle issues (i.e. I question whether we should use the checkstyle plugin at all), considering how gargantuan the task of fixing these issues seems to be: {F68975446}