Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @netlify/eslint-config-node to ^4.0.6 #3943

Merged
merged 3 commits into from
Jan 5, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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