Skip to content

Commit

Permalink
fix(tslint.json): linting of test(s) folder (#924)
Browse files Browse the repository at this point in the history
tests were never tslinted becauve of a typo
  • Loading branch information
elevatebart authored and yyx990803 committed Mar 2, 2018
1 parent 6adc0b5 commit 549ff7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-plugin-typescript/lib/tslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 549ff7f

Please sign in to comment.