eslint-plugin-no-empty-if
v1.0.0
Published
Eslint plugin to find empty if statements
Maintainers
Readme
Description
Helps to find cases where there is an if statement with a semi color at the end i.e. it is empty.
Alternative
Alternatively, you can configure to always have curly braces using: "curly": ["error", "all"]
And then set the built in rule no-empty to run. However in our case, we don't
always want to have braces, hence this checks for such cases.
