Skip to content

Commit

Permalink
fix: use plugin-syntax-jsx (fixes #513)
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Nov 1, 2021
1 parent 42e3841 commit 449cb99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"@babel/eslint-parser": "^7.15.8",
"@babel/node": "^7.15.8",
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
"@babel/plugin-syntax-flow": "^7.14.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@babel/plugin-syntax-flow": "^7.16.0",
"@babel/plugin-syntax-jsx": "^7.16.0",
"@babel/preset-env": "^7.15.8",
"@babel/register": "^7.15.3",
"ajv": "^8.6.3",
Expand Down Expand Up @@ -50,7 +50,7 @@
"name": "eslint-plugin-flowtype",
"peerDependencies": {
"@babel/plugin-syntax-flow": "^7.14.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@babel/plugin-syntax-jsx": "^7.16.0",
"eslint": "^8.1.0"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/configs/recommended.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"parserOptions": {
"babelOptions": {
"plugins": [
"@babel/plugin-transform-react-jsx",
"@babel/plugin-syntax-jsx",
"@babel/plugin-syntax-flow"
]
}
Expand Down

0 comments on commit 449cb99

Please sign in to comment.