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(conf): add .editorconfig #2670
Conversation
|
There are a few files that use four spaces for indentation, such as the nginx templates and fixtures template. Shall we take these into consideration as well? |
|
@p0pr0ck5 I know, and a lot of maybe old code that was using different indentation (4 spaces is most common, I think). All the discussion is welcomed. I don't have preference in any direction at this point. I merely did this to pass on some silent information. |
|
Yeah, I'm in favor of this, I'm unsure of how these files will interact with such a config. Is it possible to add entries for these files with the correct |
|
@p0pr0ck5, certainly we can add different configs for the files that currently have different indentation. However, not sure if it worth it if they will later on follow the same formatting. What do others think? |
|
I was just about to propose a PR adding an equivalent |
EditorConfig <http://editorconfig.org> is a proposed standard that helps developers define and maintain consistent coding styles between different editors and IDEs. It is supported natively by a number of editors and IDEs, as well as native GitHub support, and has plugins available for every major editor.
|
Force-pushed an updated version of the file as per @bungle's request. |
|
LGTM, but I cannot approve this as I created it. |


Summary
Add .editorconfig
The text was updated successfully, but these errors were encountered: