mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-04-19 10:41:10 -05:00
fix(tslint.json): linting of test(s) folder (#924)
tests were never tslinted becauve of a typo
This commit is contained in:
committed by
Evan You
parent
6adc0b5dd9
commit
549ff7fe39
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user