Skip to content

Commit 6f94ced

Browse files
committed
Add JSX type as a global for ESLint
1 parent 688bbe0 commit 6f94ced

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.eslintrc

+4-1
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,8 @@
3838
"react/jsx-wrap-multilines": 2,
3939
"react/no-string-refs": 0
4040
},
41-
"plugins": ["@typescript-eslint", "import", "react"]
41+
"plugins": ["@typescript-eslint", "import", "react"],
42+
"globals": {
43+
"JSX": true
44+
}
4245
}

0 commit comments

Comments
 (0)