Skip to content

Commit

Permalink
chore(deps): update dependency @netlify/eslint-config-node to ^4.0.6 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jan 5, 2022
1 parent 7b65347 commit ffd51a2
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
14 changes: 7 additions & 7 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
"@babel/preset-react": "^7.12.13",
"@commitlint/cli": "^16.0.0",
"@commitlint/config-conventional": "^16.0.0",
"@netlify/eslint-config-node": "^4.0.5",
"@netlify/eslint-config-node": "^4.0.6",
"ava": "^3.15.0",
"eslint-plugin-sort-destructure-keys": "^1.3.5",
"fast-glob": "^3.2.7",
Expand Down
1 change: 0 additions & 1 deletion src/lib/functions/runtimes/js/builders/netlify-lambda.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ const detectNetlifyLambda = async function ({ packageJson } = {}) {
if (functionDirectories.length === 1) {
const srcFiles = [resolve(functionDirectories[0])]

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

Expand Down
1 change: 0 additions & 1 deletion src/utils/get-global-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ const getGlobalConfig = async function () {
// eslint-disable-next-line fp/no-loops
for (let retry = 1; retry <= retries; retry++) {
try {
// eslint-disable-next-line no-await-in-loop
return await getGlobalConfigOnce()
} catch (error) {
if (retry === retries) {
Expand Down
1 change: 0 additions & 1 deletion tests/utils/dev-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ const startDevServer = async (options, expectFailure) => {
// eslint-disable-next-line fp/no-loops
for (let attempt = 1; attempt <= maxAttempts; attempt++) {
try {
// eslint-disable-next-line no-await-in-loop
const { timeout, ...server } = await startServer(options)
if (timeout) {
throw new Error(`Timed out starting dev server.\nServer Output:\n${server.output}`)
Expand Down
1 change: 0 additions & 1 deletion tests/utils/site-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ const createSiteBuilder = ({ siteName }) => {
buildAsync: async () => {
// eslint-disable-next-line fp/no-loops
for (const task of tasks) {
// eslint-disable-next-line no-await-in-loop
await task()
}

Expand Down

1 comment on commit ffd51a2

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

Package size: 359 MB

Please sign in to comment.