Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 2, 2025

Bumps @angular-eslint/eslint-plugin from 20.7.0 to 21.0.1.

Release notes

Sourced from @​angular-eslint/eslint-plugin'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's changelog.

21.0.1 (2025-11-23)

This was a version bump only for eslint-plugin to align it with other projects, there were no code changes.

21.0.0 (2025-11-22)

🚀 Features

  • ⚠️ eslint-plugin: formally deprecate [no-conflicting-lifecycle] and remove from "all" config (5d845924)

🩹 Fixes

  • ⚠️ 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: 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:
      1. Add the 'app' prefix to your selectors
      2. Configure a different prefix that matches your existing selectors
      3. Explicitly set prefix: [] or prefix: '' in your ESLint config to disable prefix checking These changes make the rules more predictable and align better with developer expectations while maintaining compatibility with Angular's compiler requirements for web components.

❤️ Thank You

... (truncated)

Commits
  • b19b1f6 chore(release): publish 21.0.1
  • 9ae353f chore(release): publish 21.0.0
  • 5d84592 feat(eslint-plugin)!: formally deprecate [no-conflicting-lifecycle] and remov...
  • 984e5b8 chore: add more test cases
  • ea39f1d chore(eslint-plugin): regenerate rule docs for selector rules
  • 938362c fix(eslint-plugin)!: make component-selector and directive-selector configura...
  • See full diff in compare view

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](https://github.com/angular-eslint/angular-eslint/tree/HEAD/packages/eslint-plugin) from 20.7.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/CHANGELOG.md)
- [Commits](https://github.com/angular-eslint/angular-eslint/commits/v21.0.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@angular-eslint/eslint-plugin"
  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 Dec 2, 2025
@madhavilosetty-intel madhavilosetty-intel enabled auto-merge (squash) December 3, 2025 17:36
@madhavilosetty-intel madhavilosetty-intel merged commit 0690edc into main Dec 3, 2025
5 checks passed
@madhavilosetty-intel madhavilosetty-intel deleted the dependabot/npm_and_yarn/angular-eslint/eslint-plugin-21.0.1 branch December 3, 2025 17:46
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.

1 participant