Update eslint to 8.27.0

This commit is contained in:
Fedor Indutny 2022-11-17 16:45:19 -08:00 committed by GitHub
parent c8fb43a846
commit 98ef4c627a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
499 changed files with 8995 additions and 8494 deletions

View file

@ -61,12 +61,12 @@ type CallButtonProps = {
onClick: () => void;
};
const CallButton = ({
function CallButton({
classSuffix,
onClick,
tabIndex,
tooltipContent,
}: CallButtonProps): JSX.Element => {
}: CallButtonProps): JSX.Element {
return (
<Tooltip content={tooltipContent} theme={Theme.Dark}>
<button
@ -80,9 +80,9 @@ const CallButton = ({
</button>
</Tooltip>
);
};
}
const GroupCallMessage = ({
function GroupCallMessage({
i18n,
otherMembersRung,
ringer,
@ -90,7 +90,7 @@ const GroupCallMessage = ({
i18n: LocalizerType;
otherMembersRung: Array<Pick<ConversationType, 'firstName' | 'title'>>;
ringer: Pick<ConversationType, 'firstName' | 'title'>;
}>): JSX.Element => {
}>): JSX.Element {
// As an optimization, we only process the first two names.
const [first, second] = otherMembersRung
.slice(0, 2)
@ -155,9 +155,9 @@ const GroupCallMessage = ({
/>
);
}
};
}
export const IncomingCallBar = (props: PropsType): JSX.Element | null => {
export function IncomingCallBar(props: PropsType): JSX.Element | null {
const {
acceptCall,
bounceAppIconStart,
@ -309,4 +309,4 @@ export const IncomingCallBar = (props: PropsType): JSX.Element | null => {
</div>
</div>
);
};
}