Skip to content

[sort-keys-in-type-decorator] Fixer removes schemas and providers keys #2459

@dangrussell

Description

@dangrussell

Description and reproduction of the issue

Issues with configuration and rules should be easily reproducible on StackBlitz.

Please fork this StackBlitz and your updated link below:

FORK THIS: https://stackblitz.com/edit/angular-eslint-repros?file=eslint.config.js&view=editor

YOUR LINK HERE: https://stackblitz.com/edit/angular-eslint-repros-bszsatrl?file=src%2Fmain.ts

Versions

package version
@angular-eslint/eslint-plugin-template 19.5.0
@angular-eslint/template-parser 19.5.0
@typescript-eslint/parser 8.32.1
ESLint 9.27.0
node 20.19.2
# Please run `npx ng version` in your project and paste the full output here:
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/


Angular CLI: 19.2.13
Node: 20.19.2
Package Manager: yarn 1.22.22
OS: win32 x64

Angular: 19.2.13
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1902.13
@angular-devkit/build-angular   19.2.13
@angular-devkit/core            19.2.13
@angular-devkit/schematics      19.2.13
@angular/cdk                    19.2.17
@schematics/angular             19.2.13
rxjs                            7.8.2
typescript                      5.8.3
zone.js                         0.15.1
  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest supported version of the packages and checked my ng version output per the instructions given here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: eslint-plugin-templateAngular Template rulestriageThis issue needs to be looked at and categorized by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions