Skip to content
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

Lint service arguments #1255

Closed
Akryum opened this issue May 9, 2018 · 1 comment
Closed

Lint service arguments #1255

Akryum opened this issue May 9, 2018 · 1 comment

Comments

@Akryum
Copy link
Member

Akryum commented May 9, 2018

What problem does this feature solve?

The user should be able to pass additional arguments to eslint when running the vue-cli-service lint command.

What does the proposed API look like?

yarn lint --ext .js,.vue,.gql

@dhensche
Copy link
Contributor

The lint command uses the Engine API, which unfortunately does not have option name parity with the CLI. https://eslint.org/docs/developer-guide/nodejs-api#cliengine vs https://eslint.org/docs/user-guide/command-line-interface#options . I will look at creating a PR that renames and propagates the command line args to the engine api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants