Skip to content

Commit 85c5973

Browse files
committedJan 21, 2019
fix: force enable jsx in parserOptions, fixes #3268
1 parent febd386 commit 85c5973

File tree

1 file changed

+3
-1
lines changed
  • packages/@vue/eslint-config-typescript

1 file changed

+3
-1
lines changed
 

‎packages/@vue/eslint-config-typescript/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ module.exports = {
55
// in turn delegates to the parser, specified in `parserOptions.parser`:
66
// https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
77
parserOptions: {
8-
parser: require.resolve('typescript-eslint-parser')
8+
parser: require.resolve('typescript-eslint-parser'),
9+
// #3268
10+
jsx: true
911
},
1012
rules: {
1113
// https://github.com/eslint/typescript-eslint-parser#known-issues

0 commit comments

Comments
 (0)
Please sign in to comment.