Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --max-warnings flag (fail on warnings) #724

Open
satelllte opened this issue Jun 24, 2023 · 1 comment
Open

Add --max-warnings flag (fail on warnings) #724

satelllte opened this issue Jun 24, 2023 · 1 comment

Comments

@satelllte
Copy link

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.

@fregante fregante changed the title XO CLI: Is it possible to fail on warnings? Add --max-warnings flag (fail on warnings) Aug 12, 2023
@fregante
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants