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
+11 -18
View File
@@ -1,28 +1,21 @@
---
import Icon from './Icon.astro';
import Icon from './Icon.astro'
interface Props {
text?: string;
top?: boolean;
left?: boolean;
bottom?: boolean;
bookmark?: boolean;
color?: string;
filled?: boolean;
text?: string
top?: boolean
left?: boolean
bottom?: boolean
bookmark?: boolean
color?: string
filled?: boolean
}
const { text, top, left, bottom, bookmark, color, filled } = Astro.props;
const { text, top, left, bottom, bookmark, color, filled } = Astro.props
const classes = [
'ribbon',
top && 'ribbon-top',
left && 'ribbon-start',
bottom && 'ribbon-bottom',
bookmark && 'ribbon-bookmark',
color && `bg-${color}`,
]
const classes = ['ribbon', top && 'ribbon-top', left && 'ribbon-start', bottom && 'ribbon-bottom', bookmark && 'ribbon-bookmark', color && `bg-${color}`]
---
<div class:list={classes}>
{text ? text : <Icon name="star" type={filled ? 'filled' : 'outline'} />}
{text ? text : <Icon name="star" type={filled ? 'filled' : 'outline'} />}
</div>