Skip to content

Commit

Permalink
fix: fix eslint-loader for TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Feb 16, 2018
1 parent a9ac1a9 commit 9f5d0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-plugin-eslint/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = (api, { lintOnSave }) => {
.add(api.resolve('src'))
.add(api.resolve('test'))
.end()
.test(/\.(vue|jsx?)$/)
.test(/\.(vue|(j|t)sx?)$/)
.use('eslint-loader')
.loader('eslint-loader')
.options(Object.assign(options, {
Expand Down

0 comments on commit 9f5d0b9

Please sign in to comment.