Skip to content

fix(ci): resolve feat/fygaro tsconfig TS5095 + spelling allowlist#642

Merged
islandbitcoin merged 1 commit into
feat/fygarofrom
fix/fygaro-ci-green
Jun 18, 2026
Merged

fix(ci): resolve feat/fygaro tsconfig TS5095 + spelling allowlist#642
islandbitcoin merged 1 commit into
feat/fygarofrom
fix/fygaro-ci-green

Conversation

@islandbitcoin

Copy link
Copy Markdown
Contributor

Part of getting feat/fygaro CI green. Fixes two of the four failing checks; the other two are out of scope (noted below).

Fixes

  • Check Code (tsc TS5095)tsconfig.json set module: "Node16", but the extended @react-native/typescript-config uses moduleResolution: "bundler", which requires an esnext-class module. Set module: "esnext" + explicit moduleResolution: "bundler" (the standard RN/Metro combo). Addresses ENG-420.
  • SpellingAggrement/Governement were flagged as bare words (the earns quiz-ID misspellings also appear in i18n strings / generated types). They're a backend contract (matched against server quiz data + sent to quizCompleted), so they can't be renamed — added to the typos.toml word allowlist.

Out of scope (separate work)

Note: Check Code is a chain (tsc → eslint → check:translations → codegen → graphql-check); this clears the tsc gate, but it may surface a later step (esp. check:translations, which is the same i18n drift) until the i18n keys are backfilled.

🤖 Generated with Claude Code

- tsconfig: module was 'Node16' while the extended @react-native config
  uses moduleResolution 'bundler', which requires an esnext-class module
  (TS5095). Set module=esnext + moduleResolution=bundler explicitly.
- typos: accept the earns quiz-ID misspellings (Aggrement/Governement) as
  bare words too — they're a backend contract and can't be renamed.

Addresses ENG-420. Does not cover Test (ttypescript — see #640) or the
i18n drift (needs `yarn update-translations` run locally).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@islandbitcoin islandbitcoin merged commit 3e80814 into feat/fygaro Jun 18, 2026
2 of 4 checks passed
@islandbitcoin islandbitcoin deleted the fix/fygaro-ci-green branch June 18, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant