Skip to content

Commit

Permalink
Add an .editorconfig file and clean up some whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradyvercher committed Dec 10, 2015
1 parent d2180e3 commit daf0436
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 17 deletions.
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

# WordPress Coding Standards
# http://make.wordpress.org/core/handbook/coding-standards/

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab

[{.jscsrc,.jshintrc,*.json,*.yml}]
indent_style = space
indent_size = 2
34 changes: 17 additions & 17 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"boss": true,
"curly": true,
"devel": true,
"eqeqeq": true,
"eqnull": true,
"expr": true,
"immed": true,
"latedef": true,
"newcap": true,
"noarg": true,
"node": true,
"quotmark": "single",
"smarttabs": true,
"sub": true,
"trailing": true,
"undef": true,
"unused": "vars"
"boss": true,
"curly": true,
"devel": true,
"eqeqeq": true,
"eqnull": true,
"expr": true,
"immed": true,
"latedef": true,
"newcap": true,
"noarg": true,
"node": true,
"quotmark": "single",
"smarttabs": true,
"sub": true,
"trailing": true,
"undef": true,
"unused": "vars"
}

0 comments on commit daf0436

Please sign in to comment.