Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Improve EditorConfig file
Browse files Browse the repository at this point in the history
Changes:
- Fix invalid EditorConfig globs
- Remove unecessary ** in .editorconfig
- Trim trailing whitespace from .editorconfig
- Remove Sublime-specific comment
- Remove Makefile rule from EditorConfig file
- Apply tab indentation to all files
- Add Dockerfile and Procfile rule to .editorconfig
  • Loading branch information
treyhunner committed Mar 3, 2015
1 parent 2bba82e commit 7e397e9
Showing 1 changed file with 8 additions and 19 deletions.
27 changes: 8 additions & 19 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,36 +1,25 @@
# EditorConfig is awesome: http://EditorConfig.org

# Howto with your editor:
# Sublime: https://github.com/sindresorhus/editorconfig-sublime
# How-to with your editor: http://editorconfig.org/#download

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[**]
[*]
end_of_line = lf
indent_style = tab
insert_final_newline = true

# Standard at: https://github.com/felixge/node-style-guide
[**.js, **.json]
[{Dockerfile,Procfile}]
trim_trailing_whitespace = true

# Standard at: https://github.com/felixge/node-style-guide
[{*.js,*.json}]
trim_trailing_whitespace = true
indent_style = tab
quote_type = single
curly_bracket_next_line = false
spaces_around_operators = true
space_after_control_statements = true
space_after_anonymous_functions = false
spaces_in_brackets = false

# No Standard. Please document a standard if different from .js
[**.yml, **.html, **.css]
trim_trailing_whitespace = true
indent_style = tab

# No standard. Please document a standard if different from .js
[**.md]
indent_style = tab

# Standard at:
[Makefile]
indent_style = tab

0 comments on commit 7e397e9

Please sign in to comment.