fix(ci): work around false-positive biome / astro errors

see https://biomejs.dev/internals/language-support/#html-super-languages-support
This commit is contained in:
Darius Cepulis
2026-02-05 15:25:02 -06:00
parent 35132a4b31
commit 48364f17fd
4 changed files with 26 additions and 7 deletions
+18
View File
@@ -67,9 +67,27 @@
}
}
},
"overrides": [
{
"includes": ["**/*.astro"],
"linter": {
"rules": {
"correctness": {
"noUnusedVariables": "off",
"noUnusedImports": "off"
},
"style": {
"useConst": "off",
"useImportType": "off"
}
}
}
}
],
"files": {
"includes": [
"**",
"!**/.astro",
"!**/.vercel",
"!**/.turbo",
"!**/.next",
+1 -1
View File
@@ -25,7 +25,7 @@ const canonicalURL = canonical || new URL(Astro.url.pathname, Astro.site);
const { title, description, image } = Astro.props;
const fullTitle = Array.isArray(title)
? title.filter((t) => t !== SITE_TITLE).join(' | ') + ` | ${SITE_TITLE}`
? `${title.filter((t) => t !== SITE_TITLE).join(' | ')} | ${SITE_TITLE}`
: title === SITE_TITLE
? title
: `${title} | ${SITE_TITLE}`;
+6 -6
View File
@@ -1,15 +1,15 @@
---
import HeroVideo from '@/components/home/HeroVideo';
import { CircleCheck, Clock } from 'lucide-react';
import construction from '@/assets/construction.svg?raw';
import NavBar from '@/components/NavBar/NavBar.astro';
import Footer from '@/components/Footer.astro';
import FooterEasterEgg from '@/components/FooterEasterEgg.astro';
import HomePageDemo from '@/components/HomePageDemo';
import HeroVideo from '@/components/home/HeroVideo';
import HomePageControls from '@/components/home/HomePageControls';
import NavBar from '@/components/NavBar/NavBar.astro';
import { SITE_DESCRIPTION, SITE_TITLE, VJS8_DEMO_VIDEO } from '@/consts';
import Base from '@/layouts/Base.astro';
import HomePageDemo from '@/components/HomePageDemo';
import HomePageControls from '@/components/home/HomePageControls';
import { CircleCheck, Clock } from 'lucide-react';
import FooterEasterEgg from '@/components/FooterEasterEgg.astro';
const poster = `${VJS8_DEMO_VIDEO.poster}?time=0`;
---
+1
View File
@@ -50,6 +50,7 @@ mark {
.dark .shiki span,
.dark .astro-code,
.dark .astro-code span {
/* biome-ignore lint/complexity/noImportantStyles: override shiki's inline styles */
color: var(--shiki-dark) !important;
}