Closed ghost closed 4 years ago
What warning are you expecting?
At that time, I thought that It should return value in default case.
But It looks okay because It could return value somewhere else or return undefined
.
Maybe floating JSX (which React.createElement('...')
is not assigned or returned) should be warned. Can I propose new rule?
Closing due to deprecation, see #210
I have found that
warns nothing for standalone JSX statement. is there a rule for this?