Remove stale max-lines lint disables from files under the limit (#7548)
110 files carried an eslint/oxlint-disable max-lines directive but are already under the default max-lines budget (300 .ts / 400 .tsx / 600 .mjs / 800 test), so the suppression is dead. Removing it restores real max-lines coverage on these files with zero behavior change. Each removed directive had max-lines as its only rule; verified via a full oxlint run (0 max-lines violations, 0 new errors). Diff is pure deletions (200 lines, 0 additions) — no code touched. Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
/* eslint-disable max-lines -- Why: create-PR tests share gh/SSH mocks across
|
||||
template, CLI, and error-path cases; keeping them together prevents drift. */
|
||||
import { beforeEach, describe, expect, it, vi } from 'vitest'
|
||||
import { readFile } from 'node:fs/promises'
|
||||
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
/* eslint-disable max-lines -- Why: the issue-source test suite covers the
|
||||
heuristic split (#1076), the partial-failure envelope (feature 1), and the
|
||||
three-state preference matrix (feature 2) as one surface so a regression in
|
||||
any of them blocks the same merge gate. */
|
||||
import { beforeEach, describe, expect, it, vi } from 'vitest'
|
||||
import type * as GhUtils from './gh-utils'
|
||||
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
/* eslint-disable max-lines -- Why: work-items coverage stays in one file so
|
||||
the fan-out mock plumbing (issue + PR gh calls, allSettled handling) does
|
||||
not drift across split files. */
|
||||
import { beforeEach, describe, expect, it, vi } from 'vitest'
|
||||
|
||||
const {
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
/* eslint-disable max-lines -- Why: shared infrastructure for project-view —
|
||||
slug validation, error classification, runGraphql/runRest, and rate-limit
|
||||
synthesis. Co-located so the read and write paths observe identical
|
||||
classification semantics. */
|
||||
// Why: `ghExecFileAsync` (WSL-aware, retry-enabled) is the single spawn site
|
||||
// for gh calls. The legacy plain `execFileAsync` is NOT used here — routing
|
||||
// every gh call through the runner gives us transient-5xx retry, WSL path
|
||||
|
||||
Reference in New Issue
Block a user