Skip to content

Commit

Permalink
refactor(eslint): 💩 fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kitos committed Nov 5, 2018
1 parent d9f56db commit 9b74cdb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/blog/article-card.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ let ArticleCard = ({ post }) => (
<Flex justifyContent="space-between">
<Date>{format(parse(post.date), 'MMM DD, YYYY')}</Date>
<Box fontSize="1.4rem">
&#8986;&nbsp;
<span role="img" aria-label="Time to read.">
&#8986;&nbsp;
</span>
<span>{`${post.timeToRead} ${getCorrectTimeToReadNoun(
post.timeToRead,
)}`}</span>
Expand Down
2 changes: 2 additions & 0 deletions src/model/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export type SpeakerType = {
jobTitle: ?string,
organization: ?string,
socialNetworks: Array<SocialNetworkType>,
// eslint-disable-next-line no-use-before-define
talks: Array<TalkType>,
}

Expand All @@ -26,6 +27,7 @@ export type RawSpeakerType = {

fields: {
slug: string,
// eslint-disable-next-line no-use-before-define
talks: Array<TalkType>,
},
}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/blog-post.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ let BlogPost = ({ post }) => (
{format(parse(post.date), 'MMMM D, YYYY h:mm A')}
</Box>
<Box fontSize="1.4rem">
&#8986;&nbsp;
<span role="img" aria-label="Time to read.">&#8986;&nbsp;</span>
<span>{`${post.timeToRead} ${getCorrectTimeToReadNoun(
post.timeToRead,
)}`}</span>
Expand Down

0 comments on commit 9b74cdb

Please sign in to comment.