Beautify all spec/ files to pass linting with Coffeelint

This commit is contained in:
Glavin Wiechert 2015-06-11 23:10:00 -03:00
parent c1f09e4f8b
commit 0df387dac3
3 changed files with 19 additions and 19 deletions

View File

@ -26,9 +26,9 @@ if [ "$TEST_PACKAGES" != "none" ]; then
fi
if [ -f ./node_modules/.bin/coffeelint ]; then
if [ -d ./lib ]; then
if [ -d ./src ]; then
echo "Linting package..."
./node_modules/.bin/coffeelint lib
./node_modules/.bin/coffeelint src
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
fi
if [ -d ./spec ]; then

View File

@ -150,6 +150,6 @@
"scripts": {
"prepublish": "npm run docs",
"docs": "coffee docs/",
"lint": "coffeelint src/"
"lint": "coffeelint src/ spec/"
}
}