Skip to content

Commit

Permalink
add .editorconfig edtor configuration file
Browse files Browse the repository at this point in the history
this is an editor configuration file that is agnostic of the actual
editor being used.

See http://editorconfig.org/
  • Loading branch information
salcode committed Jul 19, 2014
1 parent f27dfe4 commit b58416d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .editorconfig
@@ -0,0 +1,19 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4

[*.json]
indent_style = space
indent_size = 4

[*.txt,wp-config-sample.php]
end_of_line = crlf
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -2,6 +2,8 @@
\.*
# include .gitignore (i.e. do NOT ignore)
!.gitignore
# include .editorconfig (i.e. do NOT ignore)
!.editorconfig
# ignore all files that start with ~
~*
# ignore css generated by Sass
Expand Down

0 comments on commit b58416d

Please sign in to comment.