Add quality gates: Prettier for Astro, astro check for shared, unused SCSS variable lint (#2749)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
Paweł Kuna
2026-08-03 00:47:55 +02:00
committed by GitHub
co-authored by StarDev
parent 4d04c102d3
commit 8962710163
552 changed files with 18014 additions and 19559 deletions
+6 -11
View File
@@ -1,19 +1,14 @@
---
interface Props {
text?: string;
position?: string;
color?: string;
class?: string;
text?: string
position?: string
color?: string
class?: string
}
const { text = 'Label', position, color, class: className } = Astro.props;
const { text = 'Label', position, color, class: className } = Astro.props
const classes = [
'hr-text',
position && `hr-text-${position.toLowerCase()}`,
color && `text-${color}`,
className,
]
const classes = ['hr-text', position && `hr-text-${position.toLowerCase()}`, color && `text-${color}`, className]
---
<div class:list={classes}>{text}</div>