1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

Make travis/jenkins check for lint on files which are clean to start with

This commit is contained in:
Richard van der Hoff
2017-06-08 13:52:52 +01:00
parent ea02d8841c
commit 9bda212cb1
5 changed files with 225 additions and 3 deletions

View File

@ -21,6 +21,11 @@ npm run test
# run eslint
npm run lintall -- -f checkstyle -o eslint.xml || true
# re-run the linter, excluding any files known to have errors or warnings.
./node_modules/.bin/eslint --max-warnings 0 \
--ignore-path .eslintignore.errorfiles \
src test
# delete the old tarball, if it exists
rm -f matrix-react-sdk-*.tgz