Commit 5f99e655 authored by Marcel Hoyer's avatar Marcel Hoyer

updated JSCS dependency to latest 2.7.0 and fixed relative path issue

parent 54849985
{
"private": true,
"scripts": {
"lint": "jscs"
"lint": "pushd .. && jscs",
"postlint": "popd"
},
"dependencies": {
"jscs": "^1.13.1"
"jscs": "^2.7.0"
}
}
#!/bin/bash
PATHS=""
EXAMPLES_DIR="../examples/"
EXAMPLES_DIR="examples/"
for arg in "$@"
do
......@@ -13,4 +13,4 @@ esac
done
npm i && \
eval "npm run lint -- -c ../.jscsrc $PATHS ../tests/"
eval "npm run lint -- $PATHS tests/"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment