From 5ea91a9b7655e8523248d7542375368525f832af Mon Sep 17 00:00:00 2001 From: vamsee Date: Fri, 10 Jan 2020 17:30:36 +0530 Subject: [PATCH] add eslint-config-loopback for ci lint --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5562992..36a031b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,7 +33,7 @@ npminstall: - echo "Performing code style check..." - export status_eslint=0 - export exit_status=0 - - time npm install eslint babel-eslint --no-optional + - time npm install eslint babel-eslint eslint-config-loopback --no-optional - if npm run lint; then status_eslint=0; else status_eslint=1; fi - if [ $status_eslint == 1 ]; then export exit_status=1 && echo "esLint errors exist"; fi - if [ $exit_status == 1 ]; then exit $exit_status; fi