Skip to content

The lint command line reference is incorrect #21619

@TrevorKarjanis

Description

@TrevorKarjanis

Description

The ng lint command line reference incorrectly states that, "When a project name is not supplied, executes the lint builder for the default project." In fact, like ng test it will execute for all projects.

What is the affected URL?

https://angular.io/cli/test

Please provide the steps to reproduce the issue

  1. Clone TrevorKarjanis/angular-cli-issue-21619.
  2. Run npm install.
  3. Run ng lint.

Please provide the expected behavior vs the actual behavior you encountered

As per the documentation, the command should only execute on the default project. Instead, it executes on all projects. This is reasonable, but the documentation does not reflect that.

Please provide a screenshot if possible

Screen Shot 2021-08-20 at 2 39 44 PM

Please provide the exception or error you saw

"When a project name is not supplied, executes the lint builder for the default project."

Is this a browser-specific issue? If so, please specify the device, browser, and version.

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions