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

@ -24,47 +24,47 @@ const createProps = (overrideProps: Partial<Props> = {}): Props => ({
contact: overrideProps.contact || contact,
});
export const MarkAsVerified = (): JSX.Element => {
export function MarkAsVerified(): JSX.Element {
const props = createProps({ type: 'markVerified' });
return <VerificationNotification {...props} />;
};
}
MarkAsVerified.story = {
name: 'Mark as Verified',
};
export const MarkAsNotVerified = (): JSX.Element => {
export function MarkAsNotVerified(): JSX.Element {
const props = createProps({ type: 'markNotVerified' });
return <VerificationNotification {...props} />;
};
}
MarkAsNotVerified.story = {
name: 'Mark as Not Verified',
};
export const MarkAsVerifiedRemotely = (): JSX.Element => {
export function MarkAsVerifiedRemotely(): JSX.Element {
const props = createProps({ type: 'markVerified', isLocal: false });
return <VerificationNotification {...props} />;
};
}
MarkAsVerifiedRemotely.story = {
name: 'Mark as Verified Remotely',
};
export const MarkAsNotVerifiedRemotely = (): JSX.Element => {
export function MarkAsNotVerifiedRemotely(): JSX.Element {
const props = createProps({ type: 'markNotVerified', isLocal: false });
return <VerificationNotification {...props} />;
};
}
MarkAsNotVerifiedRemotely.story = {
name: 'Mark as Not Verified Remotely',
};
export const LongName = (): JSX.Element => {
export function LongName(): JSX.Element {
const longName = '🎆🍬🏈'.repeat(50);
const props = createProps({
@ -73,7 +73,7 @@ export const LongName = (): JSX.Element => {
});
return <VerificationNotification {...props} />;
};
}
LongName.story = {
name: 'Long name',