Commit 215fadbc authored by Mike Greiling's avatar Mike Greiling

fix eslint builds within .gitlab-ci.yml

parent db6a29bc
......@@ -327,7 +327,7 @@ lint:javascript:
paths:
- node_modules/
stage: test
image: "node:7.1"
before_script: []
script:
- yarn run eslint
......@@ -337,7 +337,7 @@ lint:javascript:report:
paths:
- node_modules/
stage: post-test
image: "node:7.1"
before_script: []
script:
- find app/ spec/ -name '*.js' -or -name '*.js.es6' -exec sed --in-place 's|/\* eslint-disable .*\*/||' {} \; # run report over all files
- yarn run eslint-report || true # ignore exit code
......
Markdown is supported
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