-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run lintwithexclusions on travis builds
Signed-off-by: Aaron Raimist <[email protected]>
- Loading branch information
1 parent
59cdb38
commit 8b73afc
Showing
5 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# autogenerated file: run scripts/generate-eslint-error-ignore-file to update. | ||
|
||
src/components/structures/VectorHomePage.js | ||
src/vector/index.js | ||
src/vector/modernizr.js | ||
test/app-tests/joining.js | ||
test/app-tests/loading.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/sh | ||
# | ||
# generates .eslintignore.errorfiles to list the files which have errors in, | ||
# so that they can be ignored in future automated linting. | ||
|
||
out=.eslintignore.errorfiles | ||
|
||
cd `dirname $0`/.. | ||
|
||
echo "generating $out" | ||
|
||
{ | ||
cat <<EOF | ||
# autogenerated file: run scripts/generate-eslint-error-ignore-file to update. | ||
EOF | ||
|
||
./node_modules/.bin/eslint --no-ignore -f json src test | | ||
jq -r '.[] | select((.errorCount) > 0) | .filePath' | | ||
sed -e 's/.*riot-web\///'; | ||
} > "$out" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters