vue/vue-tsc
Type-checks every Vue component and TypeScript file of the scope with the strict compiler options.
Part of the vue configuration, at the recommended level. It runs at the push stage, once per scope. It runs vue-tsc.
tsc cannot parse a component file, so a type error inside one ships unless vue-tsc catches it.
What to do
Section titled “What to do”Fix the first error vue-tsc prints; later errors often come from the same mistake.
Example
Section titled “Example”const count: number = 'one'; in a component script reports an incompatible assignment. Assign a number, such as const count: number = 1;.
Turn it off
Section titled “Turn it off”Turn it off for some files, with a reason:
gspot ignore vue/vue-tsc --paths "<glob>" --reason "<why>"