Skip to content

Commit 2526e5f

Browse files
committed
fix(no-status-emoji): cascade rule self-disable + bypass scripts/tests
Bulk file-level `oxlint-disable socket/no-status-emoji` on scripts/* and test/* files where emoji output is intentional (dev script status prefixes, test assertions, TUI components). Drops no-status-emoji findings to 0 in this repo.
1 parent d62710d commit 2526e5f

5 files changed

Lines changed: 9 additions & 0 deletions

File tree

.config/oxlint-plugin/rules/no-status-emoji.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* oxlint-disable socket/no-status-emoji -- this file IS the rule definition; emoji literals are lookup-table data, not real usage. */
2+
13
/**
24
* @fileoverview Ban status-symbol emoji literals (✓ ✔ ❌ ✗ ⚠ ⚠️ ❗ ✅
35
* ❎ ☑) inside string literals. The `@socketsecurity/lib/logger`

scripts/bump.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* oxlint-disable socket/no-status-emoji -- intentional emoji output. */
2+
13
/**
24
* @fileoverview Version bump script with AI-powered changelog generation.
35
* Creates version bump commits with package.json, lockfile, and changelog updates.

scripts/check-paths.mts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ const logger = {
9090
log: (msg: string) => process.stdout.write(msg + '\n'),
9191
error: (msg: string) => process.stderr.write(msg + '\n'),
9292
step: (msg: string) => process.stdout.write(`→ ${msg}\n`),
93+
// oxlint-disable-next-line socket/no-status-emoji -- local logger replica; can't import lib's logger because this gate runs in socket-lib itself.
9394
success: (msg: string) => process.stdout.write(`✔ ${msg}\n`),
9495
substep: (msg: string) => process.stdout.write(` ${msg}\n`),
9596
}

scripts/claude.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* oxlint-disable socket/no-status-emoji -- intentional emoji output. */
2+
13
/**
24
* @fileoverview Claude Code-powered utilities for Socket projects.
35
* Provides various AI-assisted development tools and automations using Claude Code CLI.

scripts/tour.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* oxlint-disable socket/no-status-emoji -- intentional emoji output. */
2+
13
/**
24
* @fileoverview Tour generator + local server wrapper.
35
*

0 commit comments

Comments
 (0)