Skip to content

Commit

Permalink
feat(dot files)
Browse files Browse the repository at this point in the history
  • Loading branch information
FGRibreau committed Mar 28, 2015
1 parent 79cf152 commit 72cfc2c
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .checkbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"checkbuild": {
"enable": ["jshint", "nsp", "david", "jsinspect"],
// "jsinspect",
// don't exit immediately if one of the tools reports an error
"continueOnError": true,
// don't exit(1) even if we had some failures
"allowFailures": false
},
"jshint": {
"args": ["**/*.js", "!node_modules/**", "!**/*.test*.js"]
},
"jsinspect": {
"args": ["**/*.js", "!*node_modules/**", "!**/*.test*.js"],
"diff": true,
"threshold": 70
},
"david": {
"stable": true,
"ignore": []
},
"nsp": {}
}
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true


[*]

# Change these settings to your own preference
indent_style = space
indent_size = 2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
16 changes: 16 additions & 0 deletions .jsbeautifyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"indent_with_tabs": false,
"max_preserve_newlines": 4,
"preserve_newlines": true,
"space_in_paren": false,
"jslint_happy": true,
"brace_style": "collapse",
"keep_array_indentation": true,
"keep_function_indentation": true,
"eval_code": false,
"unescape_strings": false,
"break_chained_methods": false,
"e4x": false,
"wrap_line_length": 0,
"format_on_save":true
}
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.10

0 comments on commit 72cfc2c

Please sign in to comment.