Skip to content

Commit

Permalink
no-promise-executor-return
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed Jan 28, 2025
1 parent 206ce7a commit 84dbe32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion apify-docs-theme/src/roa-loader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ async function getHash(source) {
}

cache[cacheKey] = res.data.encoded;
await new Promise((resolve) => setTimeout(resolve, 100));
await new Promise((resolve) => {
setTimeout(resolve, 100);
});

return res.data.encoded;
}
Expand Down
1 change: 0 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export default [
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'no-promise-executor-return': 'off',
'no-param-reassign': 'off',
'no-void': 'off',
'no-console': 'off',
Expand Down

0 comments on commit 84dbe32

Please sign in to comment.