Skip to content

[@angular-eslint/prefer-standalone]: Cannot be disabled #2168

@phihochzwei

Description

@phihochzwei

I try to disable this rule, since it simply breaks our project due to its removal of standalone: false. Unfortunately, I cannot disable for some reason Oo

{
  "rules": {
   "@angular-eslint/prefer-standalone": [
					"off"
				]
  }
}

Versions

package version
@angular-eslint/eslint-plugin 19.0.1
@typescript-eslint/parser 7.16.1
ESLint 8.57.0
node 22.6.0
     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 19.0.4
Node: 22.6.0
Package Manager: npm 10.8.2
OS: darwin arm64

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

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1900.4
@angular-devkit/build-angular   19.0.4
@angular-devkit/core            19.0.4
@angular-devkit/schematics      19.0.4
@angular/cdk                    19.0.2
@angular/cli                    19.0.4
@angular/google-maps            18.2.11
@angular/material               19.0.2
@angular/ssr                    19.0.4
@schematics/angular             19.0.4
ng-packagr                      19.0.1
rxjs                            7.5.7
typescript                      5.6.3
webpack                         5.97.1
zone.js                         0.15.0
  • 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

    awaiting responsepackage: eslint-pluginAngular-specific TypeScript 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