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

chore: add .editorconfig #30

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pythoninthegrass
Copy link

EditorConfig is pretty straightforward. Add the extension to whatever your IDE/editor is, drop the config into the root of the repo, and henceforth don't clobber other people's work with crazy formatting modifications (e.g., stripped whitespace on 1000+ lines).

The only not-so-obvious line is root = true; from the docs:

When opening a file, EditorConfig plugins look for a file named .editorconfig in the directory of the opened file and in every parent directory. A search for .editorconfig files will stop if the root filepath is reached or an EditorConfig file with root=true is found.

Happy to remove whatever you think isn't necessary, but honestly if it's not used, it's kinda like forwarding a udp port when only tcp is listening 😼

Closes #29

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.

chore: Add .editorconfig
1 participant