Add lintFix to all generate commands #12894
Labels
area: @schematics/angular
feature
Issue that requests a new feature
good first issue
severity1: confusing
Milestone
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
NPM: 6.4.1
Angular CLI: 7.0.3
Node: 10.12.0
OS: darwin x64
Angular: 7.0.1
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router
Package Version
@angular-devkit/architect 0.8.3
@angular-devkit/build-angular 0.8.3
@angular-devkit/build-optimizer 0.8.3
@angular-devkit/build-webpack 0.8.3
@angular-devkit/core 0.8.3
@angular-devkit/schematics 7.0.3
@angular/cdk 7.0.2
@angular/cli 7.0.3
@angular/material 7.0.2
@ngtools/webpack 6.2.3
@schematics/angular 7.0.3
@schematics/update 0.10.3
rxjs 6.3.3
typescript 3.1.3
webpack 4.20.2
Repro steps
ng generate module some-module --lintFix=true
Expected generated module to be tslint fixed like happens with components, however no changes.
The log given by the failure
No changes in the module, components are fixed and spaces replaced by tabs, modules are not.
I only tested with modules, but I expect that all the other ng generate commands have the same issue.
Desired functionality
ng generate to support lintFix
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: