diff --git a/.eslintrc.js b/.eslintrc.js index becaefd566d8..53bc4ccd2227 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -145,5 +145,7 @@ module.exports = { "@microsoft/sdl/react-iframe-missing-sandbox": "error", "@typescript-eslint/no-implied-eval": "error", "react/no-danger": "error", + "import/no-unassigned-import": "off", + "import/no-internal-modules": "off", } }; diff --git a/teachertool/src/components/HomeScreen.tsx b/teachertool/src/components/HomeScreen.tsx index 69487cddd980..dc6ac7cc301b 100644 --- a/teachertool/src/components/HomeScreen.tsx +++ b/teachertool/src/components/HomeScreen.tsx @@ -1,5 +1,4 @@ import * as React from "react"; -// eslint-disable-next-line import/no-internal-modules import css from "./styling/HomeScreen.module.scss"; import { Link } from "react-common/components/controls/Link"; import { Button } from "react-common/components/controls/Button"; @@ -8,11 +7,9 @@ import { showModal } from "../transforms/showModal"; import { resetRubricAsync } from "../transforms/resetRubricAsync"; import Constants from "../constants"; -// eslint-disable-next-line import/no-internal-modules import { Swiper, SwiperSlide } from "swiper/react"; import { Mousewheel, Navigation } from "swiper"; -// eslint-disable import/no-unassigned-import import "swiper/scss"; import "swiper/scss/navigation"; import "swiper/scss/mousewheel";