pgAdmin / eslint-parallel

Tiny eslint wrapper to allow executing javascript linting in parallel.
Apache License 2.0
27 stars 11 forks source link

Treat warning as normal when --quiet option is passed #7

Closed ysohda closed 2 years ago

ysohda commented 5 years ago

When ---quiet option is passed and there are no errors but some warnings, eslint-parallel returns 1. This is not an expected behavior. So with this change, eslint-parallel returns 0 when --quiet option is passed and there are no errors but some warnings. Also in this case, the last message color is yellow as well as eslint does.