Split from #421 (×68 modernization epic) — story 1 of 3. Behavior-preserving SonarCloud idiom modernizations across the core src/ app code. No new tests (Phase-2 TDD exception); existing Jest suite + npm run check are the regression guard.
Files & fixes
Test command
npm test (Jest + coverage) and npm run check (prettier + eslint). .gs files intentionally untouched.
Parent: #421 · Epic: #440
Split from #421 (×68 modernization epic) — story 1 of 3. Behavior-preserving SonarCloud idiom modernizations across the core
src/app code. No new tests (Phase-2 TDD exception); existing Jest suite +npm run checkare the regression guard.Files & fixes
src/gas-utils.js—node:crypto,String#replaceAll,TypeError, super-linear regex simplification (S8786)src/gmail-to-drive-by-labels/src/index.js—Date.now(), char-class dedupe[\w-], conditional-default||,toSortedsrc/calendar-to-briefing-doc/src/index.js— optional chaining / misc idiomssrc/calendar-to-sheets/src/index.js—toSorted, char-class / misc idiomssrc/deploy/index.js— idiom fixTest command
npm test(Jest + coverage) andnpm run check(prettier + eslint)..gsfiles intentionally untouched.Parent: #421 · Epic: #440