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

Dev: enforce consistent styles with EditorConfig #34

Merged
merged 3 commits into from
Aug 14, 2024
Merged

Conversation

abeatrix
Copy link
Collaborator

@abeatrix abeatrix commented Aug 10, 2024

CLOSE https://linear.app/sourcegraph/issue/CODY-3142/set-up-linter-formatter

Thanks to Piotr for letting us know about the EditorConfig file which allows us to enforce consistent styles with EditorConfig to avoid inconsistent spacing and formatting that would cause diff conflicts.

Please feel free to suggest any changes to the configurations before I run them code clean up on all the files in the current codebase. Any code that's added after the editorconfig file will be automatically cleaned up: https://learn.microsoft.com/en-us/visualstudio/ide/create-portable-custom-editor-options?view=vs-2022

See https://learn.microsoft.com/en-us/visualstudio/ide/code-styles-and-code-cleanup?view=vs-2022&source=recommendations

@abeatrix abeatrix marked this pull request as ready for review August 14, 2024 18:54
@abeatrix abeatrix merged commit 4d789b2 into main Aug 14, 2024
1 check passed
@abeatrix abeatrix deleted the bee/editorconfig branch August 14, 2024 22:36
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.

1 participant