Skip to content

Add --watch option to linting #4151

Open
@jsodeman

Description

@jsodeman

What problem does this feature solve?

Currently if you are running the development server in an integration with another server, like in a .Net Core SPA project, then the linting errors aren't easy to view. By being able to run "vue-cli-service lint" with a watch option you would be able to keep open a separate terminal window while developing to see just linting issues.

What does the proposed API look like?

Adding an entry to package.json for "lint:watch": "vue-cli-service lint --watch" and add necessary modifications to the CLI plugins to support watching the default linted directories.

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