diff --git a/.eslintrc.js b/.eslintrc.js index fc6e89abb2..4854713f0e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -183,9 +183,7 @@ 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", + ] }, } ] diff --git a/src/renderer/components/hotbar/hotbar-selector.tsx b/src/renderer/components/hotbar/hotbar-selector.tsx index 6e4211e719..9ae7f1d64d 100644 --- a/src/renderer/components/hotbar/hotbar-selector.tsx +++ b/src/renderer/components/hotbar/hotbar-selector.tsx @@ -1,4 +1,5 @@ import "./hotbar-selector.scss"; +import React from "react"; import { Icon } from "../icon"; import { Badge } from "../badge"; import { Tooltip } from "@material-ui/core"; diff --git a/tsconfig.json b/tsconfig.json index 58d1e5ae6c..b2cb7376ef 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "baseUrl": ".", - "jsx": "react-jsx", + "jsx": "react", "target": "ES2017", "module": "ESNext", "lib": [