From 215fadbcc86c3aac68569fee47e8d205dd250d7a Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Tue, 14 Feb 2017 00:14:28 -0600 Subject: fix eslint builds within .gitlab-ci.yml --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b2622ac7e0f..7d0c976d816 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 -- cgit v1.2.1