diff --git a/packages/@vue/cli-plugin-typescript/lib/tslint.js b/packages/@vue/cli-plugin-typescript/lib/tslint.js index b5c1a0c8c4..5929f0ee4d 100644 --- a/packages/@vue/cli-plugin-typescript/lib/tslint.js +++ b/packages/@vue/cli-plugin-typescript/lib/tslint.js @@ -75,7 +75,7 @@ module.exports = function lint (args = {}, api, silent) { const files = args._ && args._.length ? args._ - : ['src/**/*.ts', 'src/**/*.vue', 'test/**/*.ts'] + : ['src/**/*.ts', 'src/**/*.vue', 'tests/**/*.ts'] const stripTsExtension = str => str.replace(/\.vue\.ts\b/g, '.vue')