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

What if make eslint plugin based on vue-type-check? #2

Open
nibytes opened this issue Nov 30, 2019 · 2 comments
Open

What if make eslint plugin based on vue-type-check? #2

nibytes opened this issue Nov 30, 2019 · 2 comments

Comments

@nibytes
Copy link

nibytes commented Nov 30, 2019

Subj

@kenberkeley
Copy link

kenberkeley commented Jan 10, 2020

Yes, hope it can be integrated with Vue CLI generated projects easily and smoothly.
At the moment, I just use it in lint-staged with npm scripts npm run lint:template :

  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "test:unit": "vue-cli-service test:unit",
    "lint": "vue-cli-service lint",
    "lint:template": "vue-type-check --workspace ./ --srcDir ./src"
  },

@Yuyz0112
Copy link
Owner

Since the implementation is based on vetur which runs relatively slow without incremental checking support, I'm not sure it could be integrated with real-time lint tools easily.

Currently, I'm also using it in the commit hooks.

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

No branches or pull requests

3 participants