You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 18, 2021. It is now read-only.
eslint/eslint#5754 describes an issue where a // no default comment at the end of a SwitchStatement (to satisfy the default-case rule when there is no default case) triggers the newline-before-return.
This was resolved in espree (eslint/js#257); but a similar fix is required to babel-eslint