unstale

npm / angular-eslint

angular-eslint

What changed in angular-eslint 19 to 22, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

16 breaking30 new APIs and options8 behavior and defaults14 tooling61 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 2273 changes

Breaking changes 7

  • Removes the unused @angular/cli peer dependency.

    22.2.0release notes

  • angular-eslint updates to Angular 22 and TypeScript 6.

    22.0.0release notes

  • Support for eslint v8 is dropped.

    22.0.0release notes

  • The legacy eslintrc config format is no longer supported.

    22.0.0release notes

  • The deprecated no-conflicting-lifecycle rule is removed.

    21.0.0, 22.0.0release notesrelease notes

  • Node.js 20 support is dropped.

    22.0.0release notes

  • The rule now reports only components that opt out of OnPush, is included in the recommended config, and renames suggestion message id suggestAddChangeDetectionOnPush to suggestChangeToOnPush.

    22.0.0release notes

New APIs and options 20

  • Adds customGroups to attributes-order.

    22.8.0release notes

  • Adds the no-multi-token-class-key template rule.

    22.8.0release notes

  • The no-experimental rule now supports an ignorePackages option.

    22.7.0release notes

  • The rule now supports a bindUnits option.

    22.7.0release notes

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

    22.6.0release notes

  • The rule disallows unconfigured properties.

    22.5.0release notes

  • Schematics adds --tseslint-preset for strict and type-checked configs.

    22.5.0release notes

  • Adds the allowedKeyCodes option to configure permitted key codes.

    22.4.0release notes

  • Adds the requireKeyCode option to configure the rule's key-code requirement.

    22.4.0release notes

  • Adds allowBindToStyle to permit [style] bindings.

    22.4.0release notes

  • Adds the dynamic option value for style bindings.

    22.4.0release notes

  • Adds the prefer-style-binding rule.

    22.4.0release notes

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

    22.3.0release notes

  • Adds the reactive-context-must-read-signal rule.

    22.3.0release notes

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

    22.3.0release notes

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

    22.2.0release notes

  • Adds the no-outerhtml rule.

    22.1.0release notes

  • Adds the prefer-service-decorator rule.

    22.1.0release notes

  • Adds the require-switch-default rule.

    22.1.0release notes

  • The builder adds the suppressionsLocation option.

    22.0.0release notes

Behavior and default changes 1

Tooling 6

  • Adds the no-global-document ESLint rule.

    22.8.0release notes

  • Support was added for extracting inline styles in Angular components.

    22.7.0release notes

  • A new template rule, prefer-let-for-async-pipe, is available.

    22.7.0release notes

  • ESLint inline directive comments are now supported within element opening tags.

    22.1.0release notes

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

    22.1.0release notes

  • The Angular v22 @Service decorator is supported.

    22.0.0release notes

Fixes and other changes 39

  • Keeps source order and i18n markers together.

    22.8.0release notes

  • Checks @error (when ...) conditions.

    22.8.0release notes

  • Maps inline style fixes correctly in files with a BOM.

    22.8.0release notes

  • Maps inline template fixes correctly for escaped template strings.

    22.8.0release notes

  • Uses source offsets for removal suggestions.

    22.8.0release notes

  • Fixes handling of quotes, entities, and i18n.

    22.8.0release notes

  • Makes split suggestions more conservative.

    22.8.0release notes

  • Scopes the rule to ng-content and @error, and matches parentheses and template literals.

    22.8.0release notes

  • Keeps literal text in merged template literals.

    22.8.0release notes

  • Expressions in @error (when ...) within @boundary blocks are now linted.

    22.7.0release notes

  • The rule now finds duplicate IDs even when they appear after a unique ID.

    22.7.0release notes

  • Suggestion ranges are now mapped for inline templates.

    22.7.0release notes

  • The rule now checks signal and model inputs.

    22.7.0release notes

  • Broken autofixes for no-interpolation-in-attributes were fixed.

    22.7.0release notes

  • The rule now avoids producing double @else blocks.

    22.7.0release notes

  • Broken autofixes for prefer-template-literal were fixed.

    22.7.0release notes

  • The rule now treats call() and apply() as unknown.

    22.7.0release notes

  • The rule now reports camelCase ARIA names in attribute bindings.

    22.7.0release notes

  • The rule now checks control flow.

    22.6.0release notes

  • The template parser now traverses hydrate triggers.

    22.6.0release notes

  • The rule rewrites emit calls of the removed output.

    22.6.0release notes

  • The prefix rule option schema is now fully typed.

    22.6.0release notes

  • The rule now ignores inherited primitive names.

    22.6.0release notes

  • The rule now honors allowNullOrUndefined across compiler copies.

    22.4.0release notes

  • On an Angular major mismatch, ng-add now errors and says what to rerun.

    22.4.0release notes

  • The rule now treats ng-template as a nesting boundary.

    22.4.0release notes

  • The rule avoids unsafe content projection fixes.

    22.4.0release notes

  • The rule now ignores children of svg and math elements.

    22.4.0release notes

  • The rule now ignores all index.html files.

    22.4.0release notes

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

    22.3.0release notes

  • Skips inputs with a transform option.

    22.3.0release notes

  • Does not report when input and output types differ.

    22.3.0release notes

  • Improves getter and function detection.

    22.3.0release notes

  • Angular major mismatches are now reported at runtime.

    22.2.0release notes

  • The rule now covers @Component providers, viewProviders and styleUrls arrays.

    22.2.0release notes

  • The rule now escapes the fixed attribute value.

    22.2.0release notes

  • The rule now validates each token in a token list.

    22.2.0release notes

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

    22.1.0release notes

  • The template parser traverses v22 arrow function, spread, and tagged-template expression nodes.

    22.0.0release notes

angular-eslint 2127 changes

Breaking changes 2

  • The template rule now reports nested arrays.

    21.4.0release notes

  • The rule now defaults to prefix: 'app'; selector style and prefix validation are independent, and prefix separation is checked according to the selected style.

    21.0.0release notes

New APIs and options 7

  • The builder adds an apply-suppressions option.

    21.4.0release notes

  • The cyclomatic-complexity template rule adds a variant option.

    21.4.0release notes

  • Adds the computed-must-return rule to eslint-plugin.

    21.3.0release notes

  • Adds the no-non-null-assertion rule to eslint-plugin-template.

    21.3.0release notes

  • Adds a template rule to enforce class binding over ngClass.

    21.2.0release notes

  • The rule supports ignore attributes.

    21.2.0release notes

  • Adds a rule that encourages using model() for two-way bindings.

    21.1.0release notes

Behavior and default changes 2

Tooling 4

Fixes and other changes 12

  • The template rule fixes an issue where it could not destructure null.

    21.4.0release notes

  • The rule appends fixes.

    21.4.0release notes

  • The rule no longer checks inline templates.

    21.4.0release notes

  • Properly handles statements with unary operators.

    21.3.1release notes

  • Adds selectedcontent to nonAriaElements.

    21.3.1release notes

  • Adds a check for InputSignalWithTransform.

    21.3.0release notes

  • Correctly detects the Signal type.

    21.3.0release notes

  • Preserves nested non-string binary + operations.

    21.3.0release notes

  • Allows autofocus on dialog elements for improved accessibility.

    21.2.0release notes

  • The rule now avoids overlapping fixes for semicolon-separated let declarations.

    21.0.1release notes

  • The rule now handles chained concatenations correctly.

    21.0.1release notes

  • The builder always passes all files to the formatter, including when quiet is enabled, aligning invocation with the eslint CLI.

    21.0.0release notes

angular-eslint 2022 changes

Breaking changes 4

  • component-class-suffix is removed from the recommended configuration.

    20.0.0release notes

  • directive-class-suffix is removed from the recommended configuration.

    20.0.0release notes

  • angular-eslint switches to Angular v20.

    20.0.0release notes

  • Template parse errors are no longer suppressed by default.

    20.0.0release notes

New APIs and options 3

  • Supports multiple configs for component-selector.

    20.6.0release notes

  • Supports multiple configs for directive-selector.

    20.6.0release notes

  • Adds the prefer-built-in-pipes template ESLint rule.

    20.5.0release notes

Behavior and default changes 3

  • The rule now provides suggestions, giving developers suggested changes when it reports a violation.

    20.7.0release notes

  • prefer-inject is added to the recommended configuration.

    20.0.0release notes

  • The prefer-standalone fix becomes a suggestion instead of an automatic fix.

    20.0.0release notes

Tooling 2

  • The builder supports {projectName} and {projectRoot} placeholders in outputFile.

    20.6.0release notes

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

    20.5.0release notes

Fixes and other changes 10

  • Improves support for eslint defineConfig types when configuring angular-eslint.

    20.7.0release notes

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

    20.7.0release notes

  • The rule now detects variables.

    20.7.0release notes

  • Supports eslint defineConfig types in addition to typescript-eslint config.

    20.6.0release notes

  • Handles animation directives without values.

    20.5.2release notes

  • Supports data URLs in more scenarios.

    20.5.2release notes

  • Fixes the fixer when a class contains generics.

    20.5.2release notes

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

    20.5.1release notes

  • The template ESLint plugin now supports uppercase tags.

    20.5.1release notes

  • Default orders now include all known keys.

    20.0.0release notes

angular-eslint 197 changes

Breaking changes 3

Behavior and default changes 2

  • The rule is now included in the recommended configuration.

    19.0.0release notes

  • The rule now recognizes that standalone is the default.

    19.0.0release notes

Tooling 2

  • The angular-eslint package can now be referenced as the schematics collection in ng update.

    19.0.0release notes

  • A new ESLint rule is available to prefer signals.

    19.0.0release notes