unstale

npm / @angular-eslint/eslint-plugin

@angular-eslint/eslint-plugin

What changed in @angular-eslint/eslint-plugin 20 to 22, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

5 breaking8 new APIs and options3 behavior and defaults8 tooling20 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@angular-eslint/eslint-plugin 2223 changes

Breaking changes 4

  • Support for eslint v8 was dropped, so projects using that version must upgrade.

    22.0.0release notes

  • The legacy eslintrc config format is no longer supported.

    22.0.0release notes

  • The deprecated rule was removed, so configurations that enable it must remove it.

    22.0.0release notes

  • Now reports only components opting out of OnPush, not those omitting changeDetection; it is part of the recommended config, which may produce new reports.

    22.0.0release notes

New APIs and options 6

  • Adds the allowExplicitStandalone option to the prefer-standalone rule.

    22.6.0release notes

  • The rule disallows unconfigured properties.

    22.5.0release notes

  • Adds the additionalInjectFunctions option to inject-at-top.

    22.3.0release notes

  • Adds the allowProvidedInNull option to use-injectable-provided-in.

    22.3.0release notes

  • Adds the allowExplicitOnPush option; explicit OnPush is automatically removed when it is false.

    22.2.0release notes

  • The plugin now supports the Angular v22 @Service decorator.

    22.0.0release notes

Tooling 3

  • Adds a new ESLint rule for reactive contexts.

    22.3.0release notes

  • Adds a rule requiring inject() at the top of the class.

    22.1.0release notes

  • Adds the prefer-service-decorator rule.

    22.1.0release notes

Fixes and other changes 10

  • Rewrites emit calls of the removed output.

    22.6.0release notes

  • Ensures the prefix rule option schema is fully typed.

    22.6.0release notes

  • Ignores inherited primitive names.

    22.6.0release notes

  • Reports methods that are also called outside a DI context.

    22.3.0release notes

  • Stops reporting when input and output types differ.

    22.3.0release notes

  • Skips inputs that use the transform option.

    22.3.0release notes

  • Improves getter and function detection in the rule.

    22.3.0release notes

  • Covers @Component providers, viewProviders and styleUrls when checking for duplicates in metadata arrays.

    22.2.0release notes

  • Avoids a false positive for methods called from a constructor.

    22.1.0release notes

  • The suggestion message id was renamed from suggestAddChangeDetectionOnPush.

    22.0.0release notes

@angular-eslint/eslint-plugin 2112 changes

Breaking changes 1

  • The rule is formally deprecated and removed from the all config.

    21.0.0release notes

Behavior and default changes 3

  • The rule now detects Signal member access.

    21.3.0release notes

  • Defaults to prefix 'app'; selector validation is stricter, with style checks independent of prefix checks and more specific prefix failure reporting.

    21.0.0release notes

  • Defaults to prefix 'app'; selector validation is stricter, with style checks independent of prefix checks and more specific prefix failure reporting.

    21.0.0release notes

Tooling 4

  • Adds the computed-must-return rule.

    21.3.0release notes

  • The plugin adds support for ESLint v10.

    21.3.0release notes

  • Adds the no-implicit-takeuntil-destroyed ESLint rule.

    21.2.0release notes

  • Adds a rule encouraging the use of model() for two-way bindings.

    21.1.0release notes

Fixes and other changes 4

@angular-eslint/eslint-plugin 209 changes

New APIs and options 2

  • The rule supports multiple configs, allowing developers to configure more than one component selector.

    20.6.0release notes

  • The rule supports multiple configs, allowing developers to configure more than one directive selector.

    20.6.0release notes

Tooling 1

  • Adds the prefer-host-metadata-property ESLint rule.

    20.5.0release notes

Fixes and other changes 6

  • Fixes false negatives when linting selectors that only contain a prefix.

    20.7.0release notes

  • Fixes false negatives when linting selectors that only contain a prefix.

    20.7.0release notes

  • Fixes false negatives when linting selectors that only contain a prefix.

    20.7.0release notes

  • Detects variables in component selectors.

    20.7.0release notes

  • Fixes the rule's fixer when a class contains generics.

    20.5.2release notes

  • Fixes false positives in the no-uncalled-signals rule.

    20.5.1release notes