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 option to mute errors #105

Closed
tusharmath opened this issue Sep 27, 2014 · 4 comments
Closed

Add option to mute errors #105

tusharmath opened this issue Sep 27, 2014 · 4 comments

Comments

@tusharmath
Copy link

Why do we throw an error here - https://github.com/Glavin001/atom-beautify/blob/master/lib/language-options.coffee#L255

This is creating a lot of issues when I edit Jade. My screen is full of these errors, can it not be disabled or silently fail?

@Glavin001 Glavin001 self-assigned this Sep 27, 2014
@Glavin001 Glavin001 changed the title Why throw an error if the grammar is unsupported? Add option to mute errors Sep 27, 2014
@Glavin001
Copy link
Owner

You could comment out https://github.com/Glavin001/atom-beautify/blob/master/lib/beautify.coffee#L138-L145 until I add a package option to mute errors -- of course, feel free to submit a Pull Request. Hope this helps in the mean time.

@Glavin001
Copy link
Owner

@Glavin001
Copy link
Owner

Published to v0.13.0
See package options here: https://github.com/Glavin001/atom-beautify#package-options
In your case, muteUnsupportedLanguageErrors and/or muteAllErrors.

Hope this works for you!

@Glavin001 Glavin001 added this to the v1.0.0 milestone Sep 28, 2014
@tusharmath
Copy link
Author

@Glavin001 Perfecto!

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