mirror of
https://github.com/stablyai/orca.git
synced 2026-10-21 08:03:33 +00:00
chore(lint): drop five unused no-console disable directives
`check-changed-code-quality` reports unused eslint-disable directives as errors, and these five sat above diagnostic `console.log` calls in IME test and spec files where `no-console` is not enabled — so each suppressed nothing. This is the second of the two static-analysis steps. `c51c6b5837e` fixed "Enforce focused code-quality plugins" (duplicate test titles); this fixes "Enforce changed-code quality". Both had been red on this branch since 2026-08-06, and I mistook the first for the whole job. The diagnostic logs themselves are kept — they are what a failing IME arm prints for a reader to inspect.
This commit is contained in:
-3
@@ -129,9 +129,7 @@ describe('STA-3250 — continuous Korean typing, no Enter', () => {
|
||||
const snapshots = await typeSyllables(textarea, emitted, HANGUL_PHRASE)
|
||||
|
||||
// Reported diagnostic: what onData holds once each syllable has been typed.
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('[STA-3250] per-syllable onData:', JSON.stringify(snapshots))
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('[STA-3250] final onData:', JSON.stringify(emitted))
|
||||
|
||||
// After syllable 2 (글) has been typed, 한 was committed one syllable ago and
|
||||
@@ -157,7 +155,6 @@ describe('STA-3250 — continuous Korean typing, no Enter', () => {
|
||||
await nextEventLoop()
|
||||
snapshots.push([...emitted])
|
||||
}
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('[STA-3250 ascii] per-key onData:', JSON.stringify(snapshots))
|
||||
expect(snapshots.map((s) => s.join(''))).toEqual(['a', 'ab', 'abc', 'abcd'])
|
||||
})
|
||||
|
||||
-1
@@ -273,7 +273,6 @@ describe('Korean preedit overlay against committed terminal content', () => {
|
||||
const samples = await typeKorean(rig)
|
||||
|
||||
// Reported diagnostic, in the columns the capture recorded.
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(
|
||||
'[overlap] per-key cursorX/row/overlay:',
|
||||
JSON.stringify(
|
||||
|
||||
@@ -88,7 +88,6 @@ async function runProbe(orcaPage: Page, renderer: 'webgl' | 'dom'): Promise<void
|
||||
type: 'issue-12164-evidence',
|
||||
description: evidence
|
||||
})
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(`\n===== ISSUE 12164 EVIDENCE =====\n${evidence}\n===== END =====\n`)
|
||||
|
||||
// The grid must not have resized between emit and read, or a wrap artefact
|
||||
|
||||
Reference in New Issue
Block a user