Review 12.4 Merged

83448[TASK] Implement `@typescript-eslint/prefer-string-starts-ends-with` rule

Andreas Kienast CR +2 V +2 Easy +15 −14 updated 03/14/24, 07:27

Commit message

The eslint configuration now takes the rule
`@typescript-eslint/prefer-string-starts-ends-with` [1] into account,
enforcing the usage of `startsWith()` and `endWith()` over index
checking in strings.

[1] https://typescript-eslint.io/rules/prefer-string-starts-ends-with

Review

  • Code review CR +2 Done
    • Andreas Kienast +2
    • Benjamin Franzke +1
  • Verified V +2 Done
    • Andreas Kienast +2
    • core-ci +1 CI

Issues 1

Files 13

Review log 45

  1. Andreas Kienast uploaded patch set 1 03/13/24, 07:26

  2. core-ci voted on patch set 1 V +1 03/13/24, 07:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/54455

  3. Benjamin Franzke voted on patch set 1 CR +1 03/13/24, 07:39

  4. Andreas Kienast voted on patch set 1 CR +2 V +2 03/14/24, 07:27

  5. Andreas Kienast merged patch set 2 03/14/24, 07:27