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:
- Automatically run the
ng add
command with the only builder - 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:
- Created 2 years ago
- Reactions:30
- Comments:8 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Cool I am sharing with the community to check if we get enough interest.
Why canβt you add eslint when creating a project?