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 note about editorconfig to CONTRIBUTING.md #4136

Merged
merged 1 commit into from
May 2, 2017

Conversation

ruflin
Copy link
Collaborator

@ruflin ruflin commented Apr 28, 2017

No description provided.

CONTRIBUTING.md Outdated
@@ -72,6 +72,10 @@ Packetbeat:
Some of the Beats might have extra development requirements, in which case you'll find a
CONTRIBUTING.md file in the Beat directory.

We use an [EditorConfig](http://editorconfig.org/) file in the beats repository to standardise
how different editors use whitespaces etc. in our files. Most popular editors have a
Copy link
Contributor

@dedemorton dedemorton Apr 28, 2017

Choose a reason for hiding this comment

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

Avoid using "etc" because it can sometimes be a problem when the doc gets translated. How about being more specific?

...how different editors handle whitespace, line endings, and other coding styles in our files... (UPDATED)

Copy link
Contributor

Choose a reason for hiding this comment

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

I guess tabs are technically whitespace...hehe. but I think you see the point...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

adjusted.

CONTRIBUTING.md Outdated
@@ -72,6 +72,10 @@ Packetbeat:
Some of the Beats might have extra development requirements, in which case you'll find a
CONTRIBUTING.md file in the Beat directory.

We use an [EditorConfig](http://editorconfig.org/) file in the beats repository to standardise
how different editors use whitespaces etc. in our files. Most popular editors have a
[plugin](http://editorconfig.org/#download) for EditorConfig and we strongly recommend you to install it.
Copy link
Contributor

Choose a reason for hiding this comment

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

"we strongly recommend that you install it..."

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

adjusted

@ruflin ruflin force-pushed the editorconfig-contributing branch from 07d3009 to dc69938 Compare May 1, 2017 14:01
@ruflin
Copy link
Collaborator Author

ruflin commented May 1, 2017

@dedemorton New version pushed.

@dedemorton
Copy link
Contributor

LGTM

@tsg tsg merged commit 3ffbeb2 into elastic:master May 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants