We have an .editorconfig in the repository already, we could/should take advantage of it. There has been a commit in 2020 to not enforce trailing whitespace removal, but we can change it to enforce non-change of trailing whitespace.
https://github.com/WebKit/WebKit/commit/85195ac3385176f0e2b664ad3198c5bbbb06ef6f https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#trim_trailing_whitespace Best, Matthieu On Wed, Apr 12, 2023 at 10:22 AM Anne van Kesteren via webkit-dev < webkit-dev@lists.webkit.org> wrote: > To reduce the overhead of switching between projects with different > whitespace requirements, I would like to suggest we start being > lenient when trailing whitespace is removed. In particular when a file > is being changed to fix a bug. > > I could see going even further and enforcing this via the style > checker, if there is appetite for that. > > Thanks for considering! > _______________________________________________ > webkit-dev mailing list > webkit-dev@lists.webkit.org > https://lists.webkit.org/mailman/listinfo/webkit-dev >
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev