-
Notifications
You must be signed in to change notification settings - Fork 12k
ng lint vs tslint command #9750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@olivierscheffler yes, as you have found you now, you can pass the format to |
related 👉 #10013 |
@filipesilva how exactly is the linting accomplished? It seems The background in our case is that we have some example |
@toupeira Those lint targets are configured to use the Each of those configs is like running |
@filipesilva thanks, that does clear things up! Would be great to add this information to https://github.com/angular/angular-cli/wiki/lint :) |
We're actually rolling out new docs with 7 soon, you can see a preview here:https://next.angular.io/cli/lint |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
1.6.0
Repro steps
It's more a question than a bug, but I want to know what is the exact command behind the command ng lint.
I wand to run manually the command tslint to be able to make ax export in json format.
Observed behavior
When I run tslint -p tsconfig.json -c tslint.json vs ng lint, I don't have the same error on my console.
Desired behavior
I would like to know the exact command behind ng lint to be able to run it without angular-cli.
---- UPDATE ----
I was looking at the source code of angular cli and just see that we can add -t json to output ng lint error in json format.
Was nowhere on documentation..
The text was updated successfully, but these errors were encountered: