Review main Ready for review

98026[TASK] Restrict template expressions in TypeScript

Benjamin Kott CR 0 V 0 Easy +9 −5 updated 11/25/26, 14:48

Commit message

Enable @typescript-eslint/restrict-template-expressions, which reports
values that a template literal would turn into text like "[object
HTMLDivElement]" or "null". The two existing findings are error
messages that interpolated the element instead of its tag name, so they
now name the tag they found.

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 2
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/26/98026/2 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/26/98026/2 && git cherry-pick FETCH_HEAD

Review

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

Merge conflicts 2

Issues 2

Files 5

Review log 24

  1. Benjamin Kott uploaded patch set 1 11/25/26, 14:36

  2. Benjamin Kott updated the commit message in patch set 2 11/25/26, 14:37

  3. core-ci voted on patch set 1 V +1 11/25/26, 14:44 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115468

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