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

Add .editorconfig file #1336

merged 1 commit into from Aug 13, 2018

Add .editorconfig file #1336

merged 1 commit into from Aug 13, 2018


Copy link

@swissspidy swissspidy commented Aug 13, 2018

While #1329 I noticed some differences in indentation styles, for instance between .babelrc and .eslintrc. One uses spaces, the other tabs.

An .editorconfig file helps configuring IDEs to use the right indentation style depending on file type. This way, there's no need to do this manually to follow the coding standards.

The proposed .editorconfig file matches the WordPress core coding standards and adds exceptions for hidden files like .babelrc and .eslintrc, as well as Markdown files (trailing whitespace for simple line breaks).

Fixes #51.

Copy link

@westonruter westonruter left a comment


@westonruter westonruter added this to the v1.0 milestone Aug 13, 2018
@westonruter westonruter merged commit f9e79b1 into develop Aug 13, 2018
2 checks passed
@westonruter westonruter deleted the add/editorconfig branch Aug 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants