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, "private": true,
"scripts": { "scripts": {
"lint": "jscs" "lint": "pushd .. && jscs",
"postlint": "popd"
}, },
"dependencies": { "dependencies": {
"jscs": "^1.13.1" "jscs": "^2.7.0"
} }
} }
#!/bin/bash #!/bin/bash
PATHS="" PATHS=""
EXAMPLES_DIR="../examples/" EXAMPLES_DIR="examples/"
for arg in "$@" for arg in "$@"
do do
...@@ -13,4 +13,4 @@ esac ...@@ -13,4 +13,4 @@ esac
done done
npm i && \ 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