Make travis/jenkins check for lint on files which are clean to start with
This commit is contained in:
parent
ea02d8841c
commit
9bda212cb1
5 changed files with 225 additions and 3 deletions
11
scripts/travis.sh
Executable file
11
scripts/travis.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -ex
|
||||
|
||||
npm run test
|
||||
./.travis-test-riot.sh
|
||||
|
||||
# run the linter, but exclude any files known to have errors or warnings.
|
||||
./node_modules/.bin/eslint --max-warnings 0 \
|
||||
--ignore-path .eslintignore.errorfiles \
|
||||
src test
|
Loading…
Add table
Add a link
Reference in a new issue