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


None yet
2 participants
Copy link

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 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

continuous-integration/travis-ci/pr The Travis CI build passed
continuous-integration/travis-ci/push The Travis CI build passed

@westonruter westonruter deleted the add/editorconfig branch Aug 13, 2018

@westonruter westonruter referenced this pull request Sep 8, 2018


Bump versions to 0.2 #62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.