diff --git a/.eslintrc.json b/.eslintrc.json index 02611419..e7961752 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -52,6 +52,7 @@ ], "max-lines": ["error", 80], "react/jsx-filename-extension": [1, { "extensions": [".tsx"] }], + "react/jsx-props-no-spreading": "off", "react/prop-types": "off", "simple-import-sort/exports": "error", "simple-import-sort/imports": "error" diff --git a/pages/_app.tsx b/pages/_app.tsx index 7ebf6d88..aed911db 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -9,7 +9,6 @@ const App = ({ Component, pageProps }: AppProps): React.ReactElement => ( - {/* eslint-disable-next-line react/jsx-props-no-spreading */} diff --git a/utils/withStyledComponents.tsx b/utils/withStyledComponents.tsx index 0788b4c1..d9f27ccb 100644 --- a/utils/withStyledComponents.tsx +++ b/utils/withStyledComponents.tsx @@ -11,7 +11,6 @@ const withStyledComponents = async ( try { ctx.renderPage = () => originalRenderPage({ - /* eslint-disable-next-line react/jsx-props-no-spreading */ enhanceApp: (App) => (props) => sheet.collectStyles() });