From b8816d587651ef8dfdcef4a27a0402e77716a5db Mon Sep 17 00:00:00 2001 From: Corbin Crutchley Date: Mon, 24 Jul 2023 04:06:28 -0700 Subject: [PATCH] chore: finalize fixes with eslint upgrade --- .eslintrc.cjs | 3 ++- astro.config.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 5848cf08..28aedd67 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -1,6 +1,7 @@ const tsRules = { "@typescript-eslint/ban-types": "off", "@typescript-eslint/no-empty-interface": "off", + "@typescript-eslint/no-unused-vars": "off", }; module.exports = { @@ -19,7 +20,7 @@ module.exports = { rules: { "no-unused-vars": "off", "no-mixed-spaces-and-tabs": "off", - "no-useless-escape": "off" + "no-useless-escape": "off", }, overrides: [ { diff --git a/astro.config.ts b/astro.config.ts index 19880dbe..a9fb296f 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -70,7 +70,7 @@ export default defineConfig({ /* start remark plugins here */ [behead, { depth: 1 }], [ - remarkEmbedder as any, + remarkEmbedder as never, { transformers: [oembedTransformer, TwitchTransformer], } as RemarkEmbedderOptions,