Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 24, 2025

Bumps @angular-eslint/eslint-plugin-template from 20.3.0 to 21.0.1.

Release notes

Sourced from @​angular-eslint/eslint-plugin-template's releases.

v21.0.1

21.0.1 (2025-11-23)

🩹 Fixes

  • eslint-plugin-template: [prefer-template-literal] handle chained concatenations correctly (#2801)
  • eslint-plugin-template: [prefer-contextual-for-variables] fix overlapping fixes for semicolon-separated let declarations (#2802)

❤️ Thank You

v21.0.0

21.0.0 (2025-11-22)

As always we recommend that you update your existing workspaces by using ng update as we provide some helpful schematics to help migrate your workspaces to the latest and greatest. Running the following will update Angular, the Angular CLI and angular-eslint together:

ng update @angular/core @angular/cli angular-eslint

🚀 Features

  • ⚠️ update Angular dependencies to v21 (6a6b671e)
  • ⚠️ eslint-plugin: formally deprecate [no-conflicting-lifecycle] and remove from "all" config (5d845924)
  • ⚠️ eslint-plugin-template: add prefer-control-flow to recommended config (77cd24d3)
  • ⚠️ eslint-plugin-template: add textContent to default allowList (f112c169)
  • schematics: generate new projects using eslint defineConfig (5aa8171b)

🩹 Fixes

  • ⚠️ builder: align formatter invocation with eslint CLI by always passing all files, even if quiet (bceaa80e)
  • ⚠️ eslint-plugin: make component-selector and directive-selector configurations strict and clear (938362cb)

⚠️ Breaking Changes

  • eslint-plugin: formally deprecate [no-conflicting-lifecycle] and remove from "all" config (5d845924)
  • eslint-plugin-template: add textContent to default allowList (f112c169)
  • builder: align formatter invocation with eslint CLI by always passing all files, even if quiet (bceaa80e)
  • eslint-plugin: make component-selector and directive-selector configurations strict and clear (938362cb) The selector validation logic has been updated to be more strict and predictable: Default Prefix Change:
    • Both component-selector and directive-selector now default to prefix: 'app' to match Angular CLI defaults
    • This means selectors without the 'app' prefix will now fail validation unless a different prefix is explicitly configured Style and Prefix Validation Changes:
    • Single-word selectors (e.g., 'appselector') are now appropriately considered valid for both camelCase and kebab-case styles

... (truncated)

Changelog

Sourced from @​angular-eslint/eslint-plugin-template's changelog.

21.0.1 (2025-11-23)

🩹 Fixes

  • eslint-plugin-template: [prefer-contextual-for-variables] fix overlapping fixes for semicolon-separated let declarations (#2802)
  • eslint-plugin-template: [prefer-template-literal] handle chained concatenations correctly (#2801)

❤️ Thank You

21.0.0 (2025-11-22)

🚀 Features

  • ⚠️ eslint-plugin-template: add textContent to default allowList (f112c169)
  • ⚠️ eslint-plugin-template: add prefer-control-flow to recommended config (77cd24d3)

🩹 Fixes

  • ⚠️ eslint-plugin: make component-selector and directive-selector configurations strict and clear (938362cb)

⚠️ Breaking Changes

  • ⚠️ eslint-plugin-template: add textContent to default allowList (f112c169)
  • eslint-plugin: make component-selector and directive-selector configurations strict and clear (938362cb) The selector validation logic has been updated to be more strict and predictable: Default Prefix Change:
    • Both component-selector and directive-selector now default to prefix: 'app' to match Angular CLI defaults
    • This means selectors without the 'app' prefix will now fail validation unless a different prefix is explicitly configured Style and Prefix Validation Changes:
    • Single-word selectors (e.g., 'appselector') are now appropriately considered valid for both camelCase and kebab-case styles
    • Style validation is now completely independent from prefix validation
    • When a prefix is defined and found in a selector, the rule now correctly validates whether the prefix is properly separated according to the style:
      • For kebab-case: prefix must be followed by a hyphen (e.g., 'app-selector' ✓, 'appselector' ✗)
      • For camelCase: prefix must be followed by an uppercase letter (e.g., 'appSelector' ✓, 'appselector' ✗) Changes to error reporting:
    • Selectors that have valid style but improper prefix usage now report 'prefixFailure' instead of 'styleAndPrefixFailure'
    • Example: 'sgggg-bar' with prefix 'sg' and style 'kebab-case' now reports 'prefixFailure' (valid kebab-case, but prefix not properly separated) Migration Guide:
    • If you have components/directives without prefixes that were previously passing, either:

... (truncated)

Commits
  • b19b1f6 chore(release): publish 21.0.1
  • 507266b fix(eslint-plugin-template): [prefer-contextual-for-variables] fix overlappin...
  • b9e423f fix(eslint-plugin-template): [prefer-template-literal] handle chained concate...
  • 9ae353f chore(release): publish 21.0.0
  • f112c16 feat(eslint-plugin-template)!: add textContent to default allowList
  • 938362c fix(eslint-plugin)!: make component-selector and directive-selector configura...
  • 77cd24d feat(eslint-plugin-template)!: add prefer-control-flow to recommended config
  • fdddff9 chore(release): publish 20.7.0
  • b928d8c feat(eslint-plugin-template): [prefer-ngsrc] add suggestions (#2772)
  • e530160 chore(release): publish 20.6.0
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
@angular-eslint/eslint-plugin-template [>= 17.a, < 18]

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@angular-eslint/eslint-plugin-template](https://github.com/angular-eslint/angular-eslint/tree/HEAD/packages/eslint-plugin-template) from 20.3.0 to 21.0.1.
- [Release notes](https://github.com/angular-eslint/angular-eslint/releases)
- [Changelog](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin-template/CHANGELOG.md)
- [Commits](https://github.com/angular-eslint/angular-eslint/commits/v21.0.1/packages/eslint-plugin-template)

---
updated-dependencies:
- dependency-name: "@angular-eslint/eslint-plugin-template"
  dependency-version: 21.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 24, 2025
@dependabot dependabot bot requested a review from a team as a code owner November 24, 2025 05:02
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 24, 2025
@aaron-steinfeld
Copy link
Contributor

@dependabot ignore this major version

@dependabot dependabot bot closed this Nov 24, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 24, 2025

OK, I won't notify you about version 21.x.x again, unless you re-open this PR.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/angular-eslint/eslint-plugin-template-21.0.1 branch November 24, 2025 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants