Remove unnecessary disables of consistent-return lint rule

This commit is contained in:
Evan Hahn 2021-09-16 15:25:55 -05:00 committed by GitHub
parent f937eba94e
commit fda21edd23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 1 additions and 12 deletions

View file

@ -118,7 +118,6 @@ export class GroupNotification extends React.Component<Props> {
<Intl i18n={i18n} id={leftKey} components={[otherPeopleWithCommas]} />
);
case 'general':
// eslint-disable-next-line consistent-return
return;
default:
throw missingCaseError(type);