Skip to content

Commit

Permalink
Adding jshint for index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdevel committed Jan 23, 2014
1 parent e51fd64 commit 43243c2
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"bitwise":false,
"boss":true,
"expr":true,
"camelcase":false,
"curly":false,
"eqeqeq":true,
"freeze":true,
"immed":true,
"indent":2,
"latedef":"nofunc",
"laxbreak":true,
"laxcomma":true,
"newcap":true,
"noarg":true,
"node":true,
"strict": true,
"trailing":true,
"undef":true
}
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
"use strict";

module.exports = require('./lib/soap');
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
"lib": "./lib"
},
"scripts": {
"test": "mocha -R spec -u exports test/*-test.js"
"mocha": "mocha -R spec -u exports test/*-test.js",
"jshint" : "jshint index.js",
"test": "npm run-script jshint && npm run-script mocha"
},
"keywords": [
"soap"
Expand All @@ -31,6 +33,7 @@
}
],
"devDependencies": {
"mocha": "~1.17.0"
"mocha": "~1.17.0",
"jshint": "~2.4.2"
}
}

0 comments on commit 43243c2

Please sign in to comment.