Beautify all spec/ files to pass linting with Coffeelint
This commit is contained in:
parent
c1f09e4f8b
commit
0df387dac3
|
@ -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
|
||||
|
|
|
@ -150,6 +150,6 @@
|
|||
"scripts": {
|
||||
"prepublish": "npm run docs",
|
||||
"docs": "coffee docs/",
|
||||
"lint": "coffeelint src/"
|
||||
"lint": "coffeelint src/ spec/"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue