incubator-stormcrawler icon indicating copy to clipboard operation
incubator-stormcrawler copied to clipboard

[Improvement] Make indentation consistent across project files

Open mvolikas opened this issue 10 months ago • 0 comments

What would you like to be improved?

In #1716 we noticed that some POM files were using tabs for indentation while others used spaces. The width was also not consistent.

How should we improve?

  • Update the checkstyle configuration so that it checks the POM files. The default is to check only Java files:
      mvn help:describe -Dplugin=org.apache.maven.plugins:maven-checkstyle-plugin -Ddetail | grep -A5 "includes"
      includes (Default: **\/*.java)
        Required: true
        User property: checkstyle.includes
    
  • Use EditorConfig and the available maven plugin to make sure we use the same width across files of the same type.
  • Fix the currently inconsistent files.

mvolikas avatar Jan 11 '26 16:01 mvolikas