Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

fix(conventions): EditorConfig for consistent coding styles #1609

Closed
wants to merge 2 commits into from
Closed

fix(conventions): EditorConfig for consistent coding styles #1609

wants to merge 2 commits into from

Conversation

mvhecke
Copy link
Contributor

@mvhecke mvhecke commented Jan 18, 2014

As part of enforcing our coding conventions I've added an .editconfig file.

@mvhecke
Copy link
Contributor Author

mvhecke commented Jan 18, 2014

I've added this because I saw @pkozlowski-opensource mentioning it in #1490 and it results in time savings when altering code.

# Tabs in JS unless otherwise specified
[**.js]
indent_style = space
indent_size = 4
Copy link
Contributor

Choose a reason for hiding this comment

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

We are using 2 spaces for indent.

@mvhecke
Copy link
Contributor Author

mvhecke commented Jan 18, 2014

Thanks @Foxandxss, was kinda dumb of me.

@pkozlowski-opensource
Copy link
Member

Thnx @Gamemaniak, this is helpful!

@Foxandxss
Copy link
Contributor

What about adding something to the README (or COLLABORATION.md) explaining at least how to use this in the 2-3 typical editors? /cc @Gamemaniak

@bekos
Copy link
Contributor

bekos commented Jan 18, 2014

@Foxandxss @Gamemaniak Just a note for it's purspose and reference to the editorconfig.org, in the CONTRIBUTING.md, I believe is nice and enough :-)

@Foxandxss
Copy link
Contributor

@bekos does the trick yes :P

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants