-
Notifications
You must be signed in to change notification settings - Fork 157
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
Unreachable break in switch #931
Comments
Well, it's more like a style problem, not the code. It only affects the size of bytes transmitted and not the speed of processing resulting JS. LiveScript, i believe, is a "filter" which produces nice JS code already with no need in additional lint. |
My point is that this produced code could be nicer. And you would be surprised how many programming errors can |
Isn't your linter wrong about the second example? If |
The following snippets generate unreachable code (
break;
) in switch:JS linter running on compiled code is complaining on these.
The text was updated successfully, but these errors were encountered: