Using jshint for more up-tightness
This commit is contained in:
parent
6621e178bc
commit
b6cc102089
3
Makefile
3
Makefile
@ -5,6 +5,9 @@
|
||||
expresso = ./node_modules/.bin/expresso
|
||||
docco = ./node_modules/.bin/docco
|
||||
|
||||
lint:
|
||||
./node_modules/.bin/jshint lib/carto/*.js lib/carto/tree/*.js
|
||||
|
||||
ifndef only
|
||||
test:
|
||||
$(expresso) -I lib test/*.test.js
|
||||
|
@ -44,6 +44,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"expresso" : "= 0.7.x",
|
||||
"docco" : "= 0.2.x"
|
||||
"docco" : "= 0.2.x",
|
||||
"jshint" : "= 0.2.x"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user