Skip to content

Commit c375171

Browse files
committed
style: apply biome formatting fixes
1 parent 0829dac commit c375171

File tree

5 files changed

+9
-20
lines changed

5 files changed

+9
-20
lines changed

scripts/claude.mjs

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,9 +1318,7 @@ async function ensureGitHubAuthenticated() {
13181318
logger.log(colors.red('\nLogin failed. Please try again.'))
13191319

13201320
if (attempts < maxAttempts) {
1321-
logger.log(
1322-
colors.yellow(`\nAttempt ${attempts + 1} of ${maxAttempts}`),
1323-
)
1321+
logger.log(colors.yellow(`\nAttempt ${attempts + 1} of ${maxAttempts}`))
13241322
await new Promise(resolve => setTimeout(resolve, 1000))
13251323
}
13261324
}
@@ -4552,9 +4550,7 @@ Let's work through this together to get CI passing.`
45524550
)
45534551
})
45544552
if (snapshotList.length > 5) {
4555-
logger.log(
4556-
colors.gray(` ... and ${snapshotList.length - 5} more`),
4557-
)
4553+
logger.log(colors.gray(` ... and ${snapshotList.length - 5} more`))
45584554
}
45594555
}
45604556

@@ -5546,9 +5542,7 @@ async function main() {
55465542
logger.log(
55475543
' --max-auto-fixes N Max auto-fix attempts (--green, default: 10)',
55485544
)
5549-
logger.log(
5550-
' --max-retries N Max CI fix attempts (--green, default: 3)',
5551-
)
5545+
logger.log(' --max-retries N Max CI fix attempts (--green, default: 3)')
55525546
logger.log(' --no-darkwing Disable "Let\'s get dangerous!" mode')
55535547
logger.log(' --no-report Skip generating scan report (--fix)')
55545548
logger.log(' --no-verify Use --no-verify when committing')
@@ -5583,9 +5577,7 @@ async function main() {
55835577
logger.log(
55845578
' pnpm claude --test lib/utils.js # Generate tests for a file',
55855579
)
5586-
logger.log(
5587-
' pnpm claude --refactor src/index.js # Suggest refactoring',
5588-
)
5580+
logger.log(' pnpm claude --refactor src/index.js # Suggest refactoring')
55895581
logger.log(' pnpm claude --push # Commit and push changes')
55905582
logger.log(' pnpm claude --help # Show this help')
55915583
logger.log('\nRequires:')

scripts/lint.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,7 @@ async function main() {
412412
logger.log(' --staged Lint staged files')
413413
logger.log(' --quiet, --silent Suppress progress messages')
414414
logger.log('\nExamples:')
415-
logger.log(
416-
' pnpm lint # Lint changed files (default)',
417-
)
415+
logger.log(' pnpm lint # Lint changed files (default)')
418416
logger.log(' pnpm lint --fix # Fix issues in changed files')
419417
logger.log(' pnpm lint --all # Lint all files')
420418
logger.log(' pnpm lint --staged --fix # Fix issues in staged files')

scripts/test/main.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,7 @@ async function main() {
416416
' pnpm test # Run checks, build, and tests for changed files',
417417
)
418418
logger.log(' pnpm test --all # Run all tests')
419-
logger.log(
420-
' pnpm test --fast # Skip checks for quick testing',
421-
)
419+
logger.log(' pnpm test --fast # Skip checks for quick testing')
422420
logger.log(' pnpm test --cover # Run with coverage report')
423421
logger.log(' pnpm test --fast --cover # Quick test with coverage')
424422
logger.log(' pnpm test --update # Update test snapshots')

scripts/validate/external-exports.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function getExternalModules(dir) {
6565
}
6666
}
6767
}
68-
} catch (error) {
68+
} catch (_error) {
6969
// External directory might not exist in some build states
7070
return []
7171
}

src/constants/socket.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ export const SOCKET_API_TOKENS_URL =
1818
export const SOCKET_PRICING_URL = 'https://socket.dev/pricing'
1919
export const SOCKET_STATUS_URL = 'https://status.socket.dev'
2020
export const SOCKET_DOCS_URL = 'https://docs.socket.dev'
21-
export const SOCKET_DOCS_CONTACT_URL = 'https://docs.socket.dev/docs/contact-support'
21+
export const SOCKET_DOCS_CONTACT_URL =
22+
'https://docs.socket.dev/docs/contact-support'
2223

2324
// Socket.dev scopes.
2425
export const SOCKET_REGISTRY_SCOPE = '@socketregistry'

0 commit comments

Comments
 (0)