Skip to content

Commit

Permalink
Add editorconfig and jshintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
macdonst committed Jun 8, 2016
1 parent 96858ba commit de7a0e3
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
@@ -0,0 +1,15 @@
# This file is for unifying the coding style of different editors and IDEs.
# editorconfig.org

root = true

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

[*.json]
indent_size = 2
30 changes: 30 additions & 0 deletions .jshintrc
@@ -0,0 +1,30 @@
{
"asi": false,
"boss": false,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"eqnull": false,
"es5": false,
"evil": false,
"expr": false,
"forin": true,
"funcscope": false,
"jasmine": true,
"immed": true,
"indent": 4,
"latedef": true,
"loopfunc": false,
"maxerr": 7,
"newcap": true,
"node": true,
"nonew": true,
"plusplus": false,
"quotmark": "single",
"shadow": false,
"strict": false,
"supernew": false,
"trailing": true,
"undef": true,
"white": true
}

0 comments on commit de7a0e3

Please sign in to comment.