Skip to content

ng lint vs tslint command #9750

@olivierscheffler

Description

@olivierscheffler

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..

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions