Remove unnecessary disables of consistent-return
lint rule
This commit is contained in:
parent
f937eba94e
commit
fda21edd23
6 changed files with 1 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue