question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improved ng lint experience for new projects

See original GitHub issue

πŸš€ 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.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:30
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
santoshyadavdevcommented, Sep 9, 2021

Cool I am sharing with the community to check if we get enough interest.

5reactions
IKatsubacommented, Sep 10, 2021

Why can’t you add eslint when creating a project?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular Basics: Using ESLint to Boost Code Quality - Telerik
Learn how to use ESLint in your Angular projects and how ESLint helps you write better code. What Is Linting?
Read more >
Be proactive when you join an Angular project - Tim Deschryver
ESLint. In the early years Angular relied on TSLint to statically analyze your code to quickly find problems (also known as a linter)...
Read more >
ng lint - Angular
Runs linting tools on Angular application code in a given project folder. ng ... To use the ng lint command, use ng add...
Read more >
ng lint --fix=true doesn't fix linting errors - Stack Overflow
Using the command ng lint --fix is correct and should fix the indentation. I played around with tslint in a new Angular project,Β ......
Read more >
Angular CLI - ng lint Command - Tutorialspoint
ng lint run the linting tool on angular app code. It checks the code quality of angular project specified. It uses TSLint as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found