Review main Work in progress

98023[WIP][TASK] Report unsafe any assignments in TypeScript

Benjamin Kott CR 0 V -1 Easy +1 −0 updated 11/25/26, 14:08

Commit message

A value typed as any passes every null check, even with
strictNullChecks enabled, so a querySelector() call fed an any selector
hides a possible null. Enable @typescript-eslint/no-unsafe-assignment
to report these assignments; the existing findings have to get real
types before this can be merged.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/23/98023/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/23/98023/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V -1 Blocked
    • core-ci -1 CI

Merge conflicts 1

Issues 2

Files 1

Review log 12

  1. Benjamin Kott uploaded patch set 1 11/25/26, 13:59

  2. core-ci voted on patch set 1 V -1 11/25/26, 14:08 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115463