Skip to content

Commit

Permalink
add eslint-config-loopback for ci lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vamsee committed Jan 10, 2020
1 parent bd8bf17 commit 5ea91a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5ea91a9

Please sign in to comment.