Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: Add an EditorConfig file. #71

Merged
merged 1 commit into from
Dec 7, 2022
Merged

style: Add an EditorConfig file. #71

merged 1 commit into from
Dec 7, 2022

Conversation

schwern
Copy link
Contributor

@schwern schwern commented Nov 18, 2022

I noticed a recent PR had stray changes trimming trailing whitespace. This makes it a little harder to follow.

An EditorConfig file specifies basic editor configuration for the project, like trimming trailing whitespace. Most editors support it automatically and for the rest there is a plugin. It doesn't hurt, and avoids those little whitespace nits.

Configure editors to clean up trailing whitespace, use our indentation style,
end-of-line style, and character encoding.

See https://editorconfig.org/
@schwern schwern requested a review from pgautier404 November 18, 2022 20:46
Copy link
Collaborator

@pgautier404 pgautier404 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks!

@schwern schwern merged commit b3da8ab into main Dec 7, 2022
@schwern schwern deleted the style/editorconfig branch December 7, 2022 00:40
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