Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upEnforce final break #520
Comments
This comment has been minimized.
This comment has been minimized.
|
Sure I'm fine with that. But I don't think ESLint has a rule for it, so it's probably not worth the effort. If you get a rule or option for this into ESLint, happy to enable it in the next major version if there's not too much breakage :) But it's really not a risk if you're using |
This comment has been minimized.
This comment has been minimized.
|
Going to close this since there's no ESLint rule for it. But feel free to send a PR when/if you get it added. |
feross
closed this
May 13, 2016
lock
bot
locked as resolved and limited conversation to collaborators
May 10, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
LinusU commentedMay 13, 2016
Would it make sense to enforce a
breakeven in the lastcasestatement within aswitch? I think it's a good practice so that the next guy doesn't forget to add one in.