Optionally disallow deprecated <Else />
stoikerty opened this issue · 2 comments
stoikerty commented
I there a way to disallow the deprecated <Else />
-statement?
I've tried to add this to my .eslintrc
but no luck.
"environments": {
"jsx-control-statements": {
"globals": {
"Else": false
}
}
}
vkbansal commented
Try putting globals at top level in .eslintrc
"globals": {
"Else": false
}