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
merged 1 commit into from
Aug 13, 2018
Merged

Add .editorconfig file #1336

merged 1 commit into from
Aug 13, 2018

Conversation

swissspidy
Copy link
Collaborator

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
Member

@westonruter westonruter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent

@westonruter westonruter added this to the v1.0 milestone Aug 13, 2018
@westonruter westonruter merged commit f9e79b1 into develop Aug 13, 2018
@westonruter westonruter deleted the add/editorconfig branch August 13, 2018 15:16
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.

2 participants