From 6f9572bac37070eaf388730ab2d9965b09d6e01a Mon Sep 17 00:00:00 2001 From: "Brady Stroud [SSW]" Date: Tue, 1 Oct 2024 22:50:08 +0930 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20=20Fix=20silly=20linter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc | 10 -------- components/blocks/best-parmi.tsx | 1 + components/layout/layout.tsx | 2 +- eslint.config.mjs | 40 ++++++++++++++++++++++++++++++++ graphql.config.js | 1 + next-sitemap.config.js | 1 + next.config.js | 1 + package.json | 4 ++-- pages/[filename].tsx | 8 +++---- postcss.config.js | 1 + tailwind.config.js | 2 ++ tina/config.tsx | 5 +--- 12 files changed, 54 insertions(+), 22 deletions(-) delete mode 100644 .eslintrc create mode 100644 eslint.config.mjs diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 79bd6ef..0000000 --- a/.eslintrc +++ /dev/null @@ -1,10 +0,0 @@ -{ - "root": true, - "parser": "@typescript-eslint/parser", - "plugins": ["@typescript-eslint"], - "extends": [ - "eslint:recommended", - "plugin:@typescript-eslint/eslint-recommended", - "plugin:@typescript-eslint/recommended" - ] -} diff --git a/components/blocks/best-parmi.tsx b/components/blocks/best-parmi.tsx index 61553af..d078275 100644 --- a/components/blocks/best-parmi.tsx +++ b/components/blocks/best-parmi.tsx @@ -3,6 +3,7 @@ import { Container } from "../util/container"; import { Section } from "../util/section"; import { Template } from "tinacms"; +// eslint-disable-next-line @typescript-eslint/no-unused-vars export const BestParmi = ({ data, parentField }) => { return (
diff --git a/components/layout/layout.tsx b/components/layout/layout.tsx index 7233379..02a7cfa 100644 --- a/components/layout/layout.tsx +++ b/components/layout/layout.tsx @@ -41,7 +41,7 @@ export const Layout = ({ data = layoutData, children }) => { {children}