mirror of
https://github.com/zoriya/v10.git
synced 2026-08-05 05:37:21 +00:00
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:
+18
@@ -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",
|
||||
|
||||
@@ -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}`;
|
||||
|
||||
@@ -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`;
|
||||
---
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user