Skip to content

Commit

Permalink
Merge branch 'main' into refactor/replace_minimist/netlify-lambda.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Dec 19, 2023
2 parents 891fb18 + 00ea7f1 commit d52cfe5
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ module.exports = {
// TODO: remove, so those rules are enabled
complexity: 0,
'no-inline-comments': 'off',
'no-underscore-dangle': 'off',
'func-style': 'off',
'max-depth': 0,
'max-lines': 0,
Expand Down
1 change: 1 addition & 0 deletions tests/integration/commands/deploy/deploy.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { callCli } from '../../utils/call-cli.js'
import { createLiveTestSite, generateSiteName } from '../../utils/create-live-test-site.js'
import { withSiteBuilder } from '../../utils/site-builder.ts'

// eslint-disable-next-line no-underscore-dangle
const __dirname = path.dirname(fileURLToPath(import.meta.url))

const SITE_NAME = generateSiteName('netlify-test-deploy-')
Expand Down
1 change: 1 addition & 0 deletions tests/integration/commands/dev/dev-miscellaneous.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { withMockApi } from '../../utils/mock-api.js'
import { pause } from '../../utils/pause.js'
import { withSiteBuilder } from '../../utils/site-builder.ts'

// eslint-disable-next-line no-underscore-dangle
const __dirname = path.dirname(fileURLToPath(import.meta.url))

const JWT_EXPIRY = 1_893_456_000
Expand Down
1 change: 1 addition & 0 deletions tests/integration/commands/dev/dev.zisi.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { withDevServer } from '../../utils/dev-server.ts'
import { withMockApi } from '../../utils/mock-api.js'
import { withSiteBuilder } from '../../utils/site-builder.ts'

// eslint-disable-next-line no-underscore-dangle
const __dirname = path.dirname(fileURLToPath(import.meta.url))

const testMatrix = [{ args: [] }]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { tryAndLogOutput, withDevServer } from '../../utils/dev-server.ts'
import { pause } from '../../utils/pause.js'
import { withSiteBuilder } from '../../utils/site-builder.ts'

// eslint-disable-next-line no-underscore-dangle
const __dirname = path.dirname(fileURLToPath(import.meta.url))

const testMatrix = [{ args: [] }, { args: ['esbuild'] }]
Expand Down
1 change: 1 addition & 0 deletions tests/integration/frameworks/eleventy.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { afterAll, beforeAll, describe, test } from 'vitest'
import { clientIP, originalIP } from '../../lib/local-ip.js'
import { startDevServer } from '../utils/dev-server.ts'

// eslint-disable-next-line no-underscore-dangle
const __dirname = path.dirname(fileURLToPath(import.meta.url))

const context = {}
Expand Down
1 change: 1 addition & 0 deletions tests/integration/utils/cli-path.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import path from 'path'
import { fileURLToPath } from 'url'

// eslint-disable-next-line no-underscore-dangle
const __dirname = path.dirname(fileURLToPath(import.meta.url))

export const cliPath = path.resolve(__dirname, '../../../bin/run.js')

0 comments on commit d52cfe5

Please sign in to comment.