-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Open
Labels
Description
Version
3.1.1
Node and OS info
Node 8.14.0 / yarn 1.12.1 / macOS 10.14
Steps to reproduce
- Generate a vue-typescript project.
- Write some code having ts-error.
- Run
npm run lint
and it reports nothing error. - Run
npm run build
and it said the ts-error
What is expected?
Want a way to get ts error without build.
What is actually happening?
Can't get ts-error without build
If I use .ts
file to write vue component, it actually goes well by using tsc --noEmit -p .
. But it can't in .vue
file. What should I do?
I want this feature because I need to check the code whether has problem before commit.
andreixk, jacekkarczmarczyk, doits, ali-husnain-brainx, KyrieChen and 8 morehanzhangyu and BuptStEve