Skip to content

Commit a14df91

Browse files
author
devgioele
committed
enable jsx in ts-react config
1 parent 206f724 commit a14df91

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ts-react.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ module.exports = {
55
'plugin:react/jsx-runtime',
66
'plugin:prettier/recommended'
77
],
8+
parserOptions: {
9+
ecmaFeatures: {
10+
jsx: true
11+
}
12+
},
813
plugins: ['react', 'react-hooks'],
914
settings: {
1015
react: {

0 commit comments

Comments
 (0)