Skip to content

ng generate feature module produces lint warning #19169

@prabh-62

Description

@prabh-62

🐞 Bug report

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • extract-i18n
  • run
  • config
  • help
  • version
  • doc

Is this a regression?

Yes

Description

Generating an angular feature module produces lint warning.

🔬 Minimal Reproduction

  • > npx @angular/cli@11.0.0-next.7 new admin-console --strict --routing --style css
  • > cd admin-console
  • > yarn ng generate module customers --route customers --module app.module
Option "lintFix" is deprecated: Use "ng lint --fix" directly instead.

module_lintFix

🔥 Exception or Error


Option "lintFix" is deprecated: Use "ng lint --fix" directly instead.

🌍 Your Environment


$ ng version

Angular CLI: 11.0.0-next.7
Node: 14.14.0
OS: darwin x64

Angular: 11.0.0-rc.0
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1100.0-next.7
@angular-devkit/build-angular   0.1100.0-next.7
@angular-devkit/core            11.0.0-next.7
@angular-devkit/schematics      11.0.0-next.7
@angular/cli                    11.0.0-next.7
@schematics/angular             11.0.0-next.7
@schematics/update              0.1100.0-next.7
rxjs                            6.6.3
typescript                      4.0.3
    
Done in 0.94s.

Anything else relevant?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions