From 81c159e265319e0b6080ea5f88a94a7e113e312f Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 10 Nov 2021 21:49:31 -0800 Subject: [PATCH] Don't require using next Image tag --- web/.eslintrc.js | 2 ++ web/components/main-layout.tsx | 1 + 2 files changed, 3 insertions(+) diff --git a/web/.eslintrc.js b/web/.eslintrc.js index 114e7ac8d..bdbcbaf48 100644 --- a/web/.eslintrc.js +++ b/web/.eslintrc.js @@ -20,6 +20,8 @@ module.exports = { 'react/jsx-props-no-spreading': 'off', 'react/jsx-no-bind': 'off', + '@next/next/no-img-element': 'off', + 'no-unused-vars': 'off', '@typescript-eslint/no-unused-vars': 'error', 'no-console': 'off', diff --git a/web/components/main-layout.tsx b/web/components/main-layout.tsx index b991b3691..2dfb92d92 100644 --- a/web/components/main-layout.tsx +++ b/web/components/main-layout.tsx @@ -30,6 +30,7 @@ import { TEXTFIELD_PROPS_STREAM_TITLE } from '../utils/config-constants'; import { UpdateArgs } from '../types/config-section'; +// eslint-disable-next-line react/function-component-definition export default function MainLayout(props) { const { children } = props;