no-extra-semi does not handle empty if blocks #6386
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
rule
Relates to ESLint's core rules
What version of ESLint are you using?
2.12.0
What parser (default, Babel-ESLint, etc.) are you using?
Default
Please show your full configuration:
{"extends": "eslint:recommended"}
What did you do? Please include the actual source code causing the issue.
What did you expect to happen?
Nothing.
What actually happened? Please include the actual, raw output from ESLint.
Also, when using
--fix
, the semicolon is removed, which leads to invalid code.The text was updated successfully, but these errors were encountered: