Skip to content

Commit ffd51a2

Browse files
chore(deps): update dependency @netlify/eslint-config-node to ^4.0.6 (#3943)
1 parent 7b65347 commit ffd51a2

File tree

6 files changed

+8
-12
lines changed

6 files changed

+8
-12
lines changed

npm-shrinkwrap.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
"@babel/preset-react": "^7.12.13",
195195
"@commitlint/cli": "^16.0.0",
196196
"@commitlint/config-conventional": "^16.0.0",
197-
"@netlify/eslint-config-node": "^4.0.5",
197+
"@netlify/eslint-config-node": "^4.0.6",
198198
"ava": "^3.15.0",
199199
"eslint-plugin-sort-destructure-keys": "^1.3.5",
200200
"fast-glob": "^3.2.7",

src/lib/functions/runtimes/js/builders/netlify-lambda.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ const detectNetlifyLambda = async function ({ packageJson } = {}) {
2525
if (functionDirectories.length === 1) {
2626
const srcFiles = [resolve(functionDirectories[0])]
2727

28-
// eslint-disable-next-line no-await-in-loop
2928
const yarnExists = await fileExistsAsync('yarn.lock')
3029
const buildCommand = () => execa(yarnExists ? 'yarn' : 'npm', ['run', key])
3130

src/utils/get-global-config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ const getGlobalConfig = async function () {
3434
// eslint-disable-next-line fp/no-loops
3535
for (let retry = 1; retry <= retries; retry++) {
3636
try {
37-
// eslint-disable-next-line no-await-in-loop
3837
return await getGlobalConfigOnce()
3938
} catch (error) {
4039
if (retry === retries) {

tests/utils/dev-server.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ const startDevServer = async (options, expectFailure) => {
7575
// eslint-disable-next-line fp/no-loops
7676
for (let attempt = 1; attempt <= maxAttempts; attempt++) {
7777
try {
78-
// eslint-disable-next-line no-await-in-loop
7978
const { timeout, ...server } = await startServer(options)
8079
if (timeout) {
8180
throw new Error(`Timed out starting dev server.\nServer Output:\n${server.output}`)

tests/utils/site-builder.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ const createSiteBuilder = ({ siteName }) => {
163163
buildAsync: async () => {
164164
// eslint-disable-next-line fp/no-loops
165165
for (const task of tasks) {
166-
// eslint-disable-next-line no-await-in-loop
167166
await task()
168167
}
169168

0 commit comments

Comments
 (0)