Skip to content

fix(tslint.json): linting of test(s) folder #924

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 2, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(tslint.json): linting of test(s) folder
tests were never tslinted becauve of a typo
  • Loading branch information
Bart Ledoux committed Mar 2, 2018
commit f46d81dbace66a42686c44b7df3fc40b3e580351
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