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,22 +1,17 @@
---
// Equivalent of ui/avatar-upload.html
import Icon from './Icon.astro';
import Icon from './Icon.astro'
interface Props {
class?: string;
size?: string;
class?: string
size?: string
}
const { class: className, size } = Astro.props;
const { class: className, size } = Astro.props
const classes = [
'avatar',
'avatar-upload',
className,
size && `avatar-${size}`,
]
const classes = ['avatar', 'avatar-upload', className, size && `avatar-${size}`]
---
<a href="#" class:list={classes}>
<Icon name="plus" />
<Icon name="plus" />
</a>