xojs/xo

Add `--max-warnings` flag (fail on warnings)

satelllte opened this issue · 1 comments

When running xo I want it to fail on warnings. How to achieve this?

E.g., in ESLint CLI it is possible via --max-warnings.

Related discussion (in that XO could pass through anything it doesn't recognize)