-
Notifications
You must be signed in to change notification settings - Fork 248
Closed
Labels
package: builderAngular CLI builder which enables executing ESLint in Angular CLI workspacesAngular CLI builder which enables executing ESLint in Angular CLI workspacestriageThis issue needs to be looked at and categorized by a maintainerThis issue needs to be looked at and categorized by a maintainer
Description
Description and reproduction of the issue
When using outputFile option on a workspace with multiple sub-projects, the resulting report only contains the last one. All intermediary reports are lost.
❯ ng lint --fix --format json --output-file ./reports/lint.json
Linting "myapp"...
Lint errors found in the listed files.
Linting "mylib"...
Lint errors found in the listed files.Both projects contains errors but only the ones from mylib are in the json report.
Maybe it need some changes that enable path like reports/[projectName].json
Minimal reproduction
ng new --no-create-application
ng add @angular-eslint/schematics
ng g @angular-eslint/schematics:app --name myapp
ng g @angular-eslint/schematics:lib --name mylibVersions
| package | version |
|---|---|
@angular-eslint/builder |
13.1.0 |
ESLint |
8.11.0 |
node |
16.13.2 |
# Please run `npx ng version` in your project and paste the full output here:
Angular CLI: 13.1.4
Node: 16.13.2
Package Manager: npm 8.1.2
OS: linux x64
Angular: 13.1.3
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1301.4
@angular-devkit/build-angular 13.1.4
@angular-devkit/core 13.1.4
@angular-devkit/schematics 13.1.4
@angular/cli 13.1.4
@schematics/angular 13.1.4
ng-packagr 13.3.0
rxjs 7.4.0
typescript 4.5.5
- I have updated to the latest supported version of the packages and checked my
ng versionoutput per the instructions given here.
ben12 and willipreuk
Metadata
Metadata
Assignees
Labels
package: builderAngular CLI builder which enables executing ESLint in Angular CLI workspacesAngular CLI builder which enables executing ESLint in Angular CLI workspacestriageThis issue needs to be looked at and categorized by a maintainerThis issue needs to be looked at and categorized by a maintainer