Closed
Description
How is it possible to fail a CI build on CircleCi if Eslint generates an error or a warning?
Seems like the only access to linting results is through npm start
.
However, this config file doesn't do the trick.
version: 2
jobs:
build:
docker:
- image: circleci/node:7.10
steps:
- checkout
- run: npm install
- run: npm start
The build just hangs. I guess that start
script doesn't return any exit status.