From cd1e4a74edc78ae973544e0b76be1059da37783e Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Wed, 2 Oct 2024 01:05:22 +0100 Subject: [PATCH] website/Reference: add eslint ignore line 'cause of syntax and stuff --- .docs/Reference.11tydata.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/.docs/Reference.11tydata.mjs b/.docs/Reference.11tydata.mjs index aa68520..27dcf14 100644 --- a/.docs/Reference.11tydata.mjs +++ b/.docs/Reference.11tydata.mjs @@ -11,6 +11,7 @@ import parse_sections from "./lib/parse_sections.mjs"; // HACK: Make sure __dirname is defined when using es6 modules. I forget where I found this - a PR with a source URL would be great! const __dirname = import.meta.url.slice(7, import.meta.url.lastIndexOf("/")); +// eslint-disable-next-line prefer-const let { sections, categories } = parse_sections(fs.readFileSync( path.resolve( __dirname,