add JavaScript linting to CI (!5445)

This commit is contained in:
winniehell 2016-07-22 23:40:12 +02:00
parent e5a0d41db0
commit bf389a79b7
1 changed files with 9 additions and 0 deletions

View File

@ -310,6 +310,15 @@ coverage:
- coverage/index.html
- coverage/assets/
lint-javascript:
stage: test
image: "node:latest"
before_script:
- npm install
script:
- npm run eslint
allow_failure: true # don't break build until old linting errors have been fixed
# Trigger docs build
trigger_docs:
stage: post-test