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

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

Try showing eslint output with log file

parent 5e9183ae
Branches
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
......@@ -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