Add JSHint support.

Add package.json with check and lint commands to run jshint using .jshintrc.
This commit is contained in:
XhmikosR
2013-02-24 13:55:20 +02:00
parent dab02a5542
commit 383a1a3a67
3 changed files with 26 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
/npm-debug.log
+19
View File
@@ -0,0 +1,19 @@
{
"bitwise": true,
"browser" : true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"indent": 4,
"jquery" : true,
"latedef": true,
"maxerr": 50,
"noarg": true,
"node" : true,
"noempty": true,
"plusplus": false,
"regexp": true,
"strict": false,
"trailing": true,
"unused": true
}
+6
View File
@@ -0,0 +1,6 @@
{
"scripts": {
"check": "jshint .",
"lint": "jshint ."
}
}