From b997d670a0db872267e0e35f0f837f066e0bb2d0 Mon Sep 17 00:00:00 2001 From: grinikita Date: Sat, 7 Dec 2024 14:14:21 +0300 Subject: [PATCH] fix eslint --- eslint.config.js | 6 ++++++ src/container/main/components/layout/index.style.tsx | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 1b1a703..8fc62b6 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -29,5 +29,11 @@ export default [ ...hooksPlugin.configs.recommended.rules } }, + { + files: ['stubs/api/**/*'], + rules: { + '@typescript-eslint/no-require-imports': 'off' + } + }, pluginPrettier ]; diff --git a/src/container/main/components/layout/index.style.tsx b/src/container/main/components/layout/index.style.tsx index bed2f45..abe271e 100644 --- a/src/container/main/components/layout/index.style.tsx +++ b/src/container/main/components/layout/index.style.tsx @@ -2,8 +2,8 @@ import styled from '@emotion/styled'; import { NavLink as NavLinkBase } from 'react-router-dom'; export const HeaderContainer = styled('header')` - display: flex; - align-items: center; + display: flex; + align-items: center; `; export const NavContainer = styled.nav`