Skip to content

Improved ng lint experience for new projects #21387

@mgechev

Description

@mgechev

🚀 Feature request

Improve the ng lint experience for new projects.

Command (mark with an x)

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

Describe the solution you'd like

Rather than throw an error with a message when the user runs ng lint, implement a more efficient workflow where we either:

  1. Automatically run the ng add command with the only builder
  2. Copy the ng add command to the clipboard

As discussed on Slack, option 1. would be less disruptive and provide better DX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: @angular/clifeatureLabel used to distinguish feature request from other issues

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions