chore(linting): change arrowParents configuration, upgrade eslint config

This commit is contained in:
Alexander Shelepenok
2022-04-24 16:21:11 +00:00
parent 729d964c9e
commit 427a6f40f3
10 changed files with 20 additions and 23 deletions

View File

@@ -14,7 +14,7 @@ type Props = {
const Contacts: React.FC<Props> = ({ contacts }: Props) => (
<div className={styles.contacts}>
<ul className={styles.list}>
{(Object.keys(contacts) as Array<keyof typeof ICONS>).map(name =>
{(Object.keys(contacts) as Array<keyof typeof ICONS>).map((name) =>
contacts[name] ? (
<li className={styles.item} key={name}>
<a