Skip to content

Commit 245f691

Browse files
committed
chore(sync): cascade no-npx-dlx rule self-disable + bypass legitimate references
Cascade of socket-wheelhouse@12b07fc.
1 parent b6cfa83 commit 245f691

7 files changed

Lines changed: 14 additions & 0 deletions

File tree

.config/oxlint-plugin/rules/no-npx-dlx.mts

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

.git-hooks/test/_helpers.test.mts

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

packages/cli/src/commands/raw-npx/cmd-raw-npx.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* oxlint-disable socket/no-npx-dlx -- product feature name / command wrapping npx; the literal is intentional. */
2+
13
import { WIN32 } from '@socketsecurity/lib/constants/platform'
24
import { spawn } from '@socketsecurity/lib/spawn'
35

packages/cli/src/commands/sfw/cmd-sfw.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* oxlint-disable socket/no-npx-dlx -- product feature name / command wrapping npx; the literal is intentional. */
2+
13
/**
24
* Socket Firewall (sfw) command.
35
*

packages/cli/src/commands/wrapper/check-socket-wrapper-setup.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* oxlint-disable socket/no-npx-dlx -- product feature name / command wrapping npx; the literal is intentional. */
2+
13
import fs from 'node:fs'
24

35
import { getDefaultLogger } from '@socketsecurity/lib/logger'

packages/cli/src/commands/wrapper/cmd-wrapper.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* oxlint-disable socket/no-npx-dlx -- product feature name / command wrapping npx; the literal is intentional. */
2+
13
import { existsSync } from 'node:fs'
24

35
import { getDefaultLogger } from '@socketsecurity/lib/logger'

packages/cli/test/unit/commands/wrapper/check-socket-wrapper-setup.test.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* oxlint-disable socket/no-npx-dlx -- product feature name / command wrapping npx; the literal is intentional. */
2+
13
/**
24
* @fileoverview Unit tests for checkSocketWrapperSetup.
35
*/

0 commit comments

Comments
 (0)