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