This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 4891db77 authored by Daniel Rainer's avatar Daniel Rainer
Browse files

Try showing eslint output with log file

parent c74686a0
Branches
2 merge requests!105Preparing März Release,!95Improve pipeline
......@@ -35,7 +35,8 @@ eslint:
script:
- npm install
# eslint exits 0 on warnings, this is a workaround to exit 1 when warnings are present.
- '! npm run lint | tee "$(tty)" | grep -qE '' [0-9]+ problem'''
- '! npm run lint | tee lint.log'
- "grep -qE '✖ [0-9]+ problem' lint.log"
allow_failure: true
needs: []
......
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