npm / angular-eslint
angular-eslint
What changed in angular-eslint 22, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
8 new APIs and options1 behavior and defaults11 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initangular-eslint 2220 changes
New APIs and options 8
Adds the allowExplicitStandalone option to the prefer-standalone rule.
The rule disallows unconfigured properties.
Schematics adds --tseslint-preset for strict and type-checked configs.
Adds the allowedKeyCodes option to configure permitted key codes.
Adds the requireKeyCode option to configure the rule's key-code requirement.
Adds allowBindToStyle to permit [style] bindings.
Adds the dynamic option value for style bindings.
Adds the prefer-style-binding rule.
Behavior and default changes 1
The option now supports regex entries.
Fixes and other changes 11
The rule now checks control flow.
The template parser now traverses hydrate triggers.
The rule rewrites emit calls of the removed output.
The prefix rule option schema is now fully typed.
The rule now ignores inherited primitive names.
The rule now honors allowNullOrUndefined across compiler copies.
On an Angular major mismatch, ng-add now errors and says what to rerun.
The rule now treats ng-template as a nesting boundary.
The rule avoids unsafe content projection fixes.
The rule now ignores children of svg and math elements.
The rule now ignores all index.html files.