Skip to content

.editorconfig: help maintain consistent style#947

Open
stsquad wants to merge 1 commit into
RsyncProject:masterfrom
stsquad:add-editorconfig
Open

.editorconfig: help maintain consistent style#947
stsquad wants to merge 1 commit into
RsyncProject:masterfrom
stsquad:add-editorconfig

Conversation

@stsquad
Copy link
Copy Markdown

@stsquad stsquad commented Jun 2, 2026

This is roughly based on QEMU's editorconfig but with different carve outs for the vendored libraries. In practice the popt library looks like it has a fair amount of whitespace damage so I don't know if it would be worth doing a fixup commit to clean it up.

This is roughly based on QEMU's editorconfig but with different carve
outs for the vendored libraries. In practice the popt library looks
like it has a fair amount of whitespace damage so I don't know if it
would be worth doing a fixup commit to clean it up.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
@wmthornton-dev
Copy link
Copy Markdown

This is roughly based on QEMU's editorconfig but with different carve outs for the vendored libraries. In practice the popt library looks like it has a fair amount of whitespace damage so I don't know if it would be worth doing a fixup commit to clean it up.

Coming from the RTEMS project, we haven't used .editorconfig files but I can see the usefulness. Might I suggest for the fixup of the popt library that a .clang-format file is generated? Working in RTEMS, I've found that to be extremely helpful for ensuring consistent formatting of files above-and-beyond tabs and spaces. I'm working on a proposed implementation of what that would look like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants