Skip to content

--no-fix option is ignored by vue-cli-service when using typescript. #1112

Closed
@BenoitAverty

Description

@BenoitAverty

Version

3.0.0-beta.6

Reproduction link

https://github.com/BenoitAverty/vue-cli-test-tslint

Steps to reproduce

Run npm run lint -- --no-fix or npx run vue-cli-service lint --no-fix.

What is expected?

The lint errors should be reported but no file should be changed.

What is actually happening?

Errors are fixed in the file and not reported.


I would like to run linting in a precommit hook but not format the files. Currently this is not possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions