Configure ts to use react-jsx rule

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2021-04-29 11:55:12 +03:00
1 parent 78c77a169a
commit 6099723bf1
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -183,7 +183,9 @@ module.exports = {
{ "blankLine": "always", "prev": "*", "next": "class" },
{ "blankLine": "always", "prev": ["const", "let", "var"], "next": "*" },
{ "blankLine": "any", "prev": ["const", "let", "var"], "next": ["const", "let", "var"]},
]
],
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
},
}
]
+1 -1
View File
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"baseUrl": ".",
"jsx": "react",
"jsx": "react-jsx",
"target": "ES2017",
"module": "ESNext",
"lib": [