rmuir opened a new issue, #14819:
URL: https://github.com/apache/lucene/issues/14819

   ### Description
   
   editorconfig with aggressive settings was applied to all files, but without 
fixing any existing problems or preventing new ones.
   
   It causes the issue that when editing any impacted file, random unrelated 
formatting changes will appear. For example trailing whitespace is disabled, so 
if you edit any files that have it, your editor will correct that, leading to 
unrelated changes.
   
   validation/autofix is tough: especially since indentation and line-length 
settings are applied to ALL files: these need ast-awareness to validating and 
fix correctly (e.g. spotless, prettier, etc). On the other hand, editors tend 
to not aggressively autofix these for the same reason.
   
   We can start by fixing the most basic problems: e.g. trailing whitespace, 
missing newlines, etc in one fell swoop with low-tech tools, and add the commit 
to `.git-blame-ignore-revs`. These are the corrections that editors tend to do 
automatically across the entire individual file when saving it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to