diff --git a/.eslintrc.json b/.eslintrc.json index 05b7ab852..54f759125 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -42,7 +42,7 @@ "rules": { "no-shadow": "off", "@typescript-eslint/no-shadow": "error", - "react/jsx-props-no-spreading": "warn", + "react/jsx-props-no-spreading": "off", "react/require-default-props": "off", "import/prefer-default-export": "off", "react/prop-types": "warn", diff --git a/src/assets/icons/BxCopy.tsx b/src/assets/icons/BxCopy.tsx index 1a7366d60..2756f2b80 100644 --- a/src/assets/icons/BxCopy.tsx +++ b/src/assets/icons/BxCopy.tsx @@ -1,4 +1,3 @@ -/* eslint-disable react/jsx-props-no-spreading */ export const BxCopy = (props: React.SVGProps): JSX.Element => { return ( ): JSX.Element => { diff --git a/src/assets/icons/BxsClearRocket.tsx b/src/assets/icons/BxsClearRocket.tsx index ce9294ae1..a4a942cb2 100644 --- a/src/assets/icons/BxsClearRocket.tsx +++ b/src/assets/icons/BxsClearRocket.tsx @@ -1,4 +1,3 @@ -/* eslint-disable react/jsx-props-no-spreading */ export const BxsClearRocket = ( props: React.SVGProps ): JSX.Element => { diff --git a/src/components/Card/Card.tsx b/src/components/Card/Card.tsx index 366fc36b2..26befaa8a 100644 --- a/src/components/Card/Card.tsx +++ b/src/components/Card/Card.tsx @@ -1,4 +1,3 @@ -/* eslint-disable react/jsx-props-no-spreading */ import { Box, BoxProps, diff --git a/src/components/DisplayCard/DisplayCard.tsx b/src/components/DisplayCard/DisplayCard.tsx index fdd7b2f67..c5d1e3ef0 100644 --- a/src/components/DisplayCard/DisplayCard.tsx +++ b/src/components/DisplayCard/DisplayCard.tsx @@ -1,4 +1,3 @@ -/* eslint-disable react/jsx-props-no-spreading */ import { Box, Divider, diff --git a/src/components/MediaSettingsModal/MediaSettingsModal.jsx b/src/components/MediaSettingsModal/MediaSettingsModal.jsx index c99b5172d..52da16623 100644 --- a/src/components/MediaSettingsModal/MediaSettingsModal.jsx +++ b/src/components/MediaSettingsModal/MediaSettingsModal.jsx @@ -158,7 +158,6 @@ export const MediaSettingsModal = ({ File name diff --git a/src/components/PageSettingsModal/PageSettingsModal.tsx b/src/components/PageSettingsModal/PageSettingsModal.tsx index de7ba976c..0b1d708ae 100644 --- a/src/components/PageSettingsModal/PageSettingsModal.tsx +++ b/src/components/PageSettingsModal/PageSettingsModal.tsx @@ -158,7 +158,6 @@ export const PageSettingsModal = ({ {errors.title?.message} @@ -173,7 +172,6 @@ export const PageSettingsModal = ({ diff --git a/src/components/PageSettingsModal/ResourcePageSettingsModal.tsx b/src/components/PageSettingsModal/ResourcePageSettingsModal.tsx index 5fd29ab80..957bed467 100644 --- a/src/components/PageSettingsModal/ResourcePageSettingsModal.tsx +++ b/src/components/PageSettingsModal/ResourcePageSettingsModal.tsx @@ -250,7 +250,6 @@ export const ResourcePageSettingsModal = ({ Resource Type {errors.title?.message} @@ -289,7 +287,6 @@ export const ResourcePageSettingsModal = ({
{
{dirOrder.map((folderContentItem, folderContentIndex) => ( @@ -102,9 +101,7 @@ const ReorderingModal = ({ params, dirData, onProceed, onClose }) => { > {(draggableProvided) => (
diff --git a/src/components/homepage/HeroDropdown.jsx b/src/components/homepage/HeroDropdown.jsx index 715cc5fce..3bf78a1a4 100644 --- a/src/components/homepage/HeroDropdown.jsx +++ b/src/components/homepage/HeroDropdown.jsx @@ -101,7 +101,6 @@ const HeroDropdown = ({ {(droppableProvided) => ( - /* eslint-disable react/jsx-props-no-spreading */
{(droppableProvided) => ( - /* eslint-disable react/jsx-props-no-spreading */
{ */} diff --git a/src/components/navbar/NavSection.jsx b/src/components/navbar/NavSection.jsx index eb5ec3967..61e80de08 100644 --- a/src/components/navbar/NavSection.jsx +++ b/src/components/navbar/NavSection.jsx @@ -218,7 +218,6 @@ const NavSection = ({ <> {(droppableProvided) => ( - /* eslint-disable react/jsx-props-no-spreading */
( {(droppableProvided) => ( - /* eslint-disable react/jsx-props-no-spreading */
{ Resource room title ( return (