Skip to content

Commit 0e4a0b8

Browse files
committed
chore(eslint): bypass eslint rule temporarily
1 parent ab77343 commit 0e4a0b8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/gatsby-node.js

+3
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ exports.sourceNodes = async ({ actions }, { username }) => {
2121
// eslint-disable-next-line no-await-in-loop
2222
const data = await res.json();
2323

24+
// eslint-disable-next-line no-restricted-syntax
2425
for (const article of data) {
26+
// eslint-disable-next-line no-await-in-loop
2527
const articleResult = await fetch(
2628
`https://dev.to/api/articles/${article.id}`
2729
);
30+
// eslint-disable-next-line no-await-in-loop
2831
const articleData = await articleResult.json();
2932
articles.push({ ...article, ...articleData });
3033
}

0 commit comments

Comments
 (0)