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

@@ -17,7 +17,7 @@ const CategoriesTemplate: React.FC = () => {
<Sidebar />
<Page title="Categories">
<ul>
{categories.map(category => (
{categories.map((category) => (
<li key={category.fieldValue}>
<Link to={`/category/${toKebabCase(category.fieldValue)}/`}>
{category.fieldValue} ({category.totalCount})

View File

@@ -17,7 +17,7 @@ const TagsTemplate: React.FC = () => {
<Sidebar />
<Page title="Tags">
<ul>
{tags.map(tag => (
{tags.map((tag) => (
<li key={tag.fieldValue}>
<Link to={`/tag/${toKebabCase(tag.fieldValue)}/`}>
{tag.fieldValue} ({tag.totalCount})