Skip to content

Commit

Permalink
updated JSCS dependency to latest 2.7.0 and fixed relative path issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mhoyer committed Dec 29, 2015
1 parent 5484998 commit 5f99e65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions tooling/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"private": true,
"scripts": {
"lint": "jscs"
"lint": "pushd .. && jscs",
"postlint": "popd"
},
"dependencies": {
"jscs": "^1.13.1"
"jscs": "^2.7.0"
}
}
4 changes: 2 additions & 2 deletions tooling/run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

PATHS=""
EXAMPLES_DIR="../examples/"
EXAMPLES_DIR="examples/"

for arg in "$@"
do
Expand All @@ -13,4 +13,4 @@ esac
done

npm i && \
eval "npm run lint -- -c ../.jscsrc $PATHS ../tests/"
eval "npm run lint -- $PATHS tests/"

0 comments on commit 5f99e65

Please sign in to comment.