Skip to content

Commit

Permalink
feat(check-build): add check-build
Browse files Browse the repository at this point in the history
  • Loading branch information
FGRibreau committed May 6, 2015
1 parent 07ac122 commit 13c4029
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .checkbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"checkbuild": {
"enable": ["jshint", "jsinspect", "nsp", "david"],
// 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/**"]
},
"jsinspect": {
"args": ["**/*.js", "!*node_modules/**","!*test/**"],
"diff": true,
"threshold": 40
},
"nsp": {}
}
2 changes: 1 addition & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@
"white" : false, // true: Check against strict whitespace and indentation rules

// Custom Globals
"prefef" : ["it", "describe"] // additional predefined global variables
"predef" : ["it", "describe"] // additional predefined global variables
}

0 comments on commit 13c4029

Please sign in to comment.