mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-03-20 18:11:07 -05:00
fix: fix eslint-loader for TypeScript
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user