Skip to content

Commit 9f5d0b9

Browse files
committed
fix: fix eslint-loader for TypeScript
1 parent a9ac1a9 commit 9f5d0b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vue/cli-plugin-eslint/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = (api, { lintOnSave }) => {
99
.add(api.resolve('src'))
1010
.add(api.resolve('test'))
1111
.end()
12-
.test(/\.(vue|jsx?)$/)
12+
.test(/\.(vue|(j|t)sx?)$/)
1313
.use('eslint-loader')
1414
.loader('eslint-loader')
1515
.options(Object.assign(options, {

0 commit comments

Comments
 (0)