mirror of
https://github.com/tabler/tabler.git
synced 2026-08-30 13:51:28 +04:00
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:
@@ -4,7 +4,6 @@
|
||||
// TODO: optgroup / flag / label indicator branches (unused on the modals page).
|
||||
import selects from '@data/selects.json';
|
||||
import people from '@data/people.json';
|
||||
import { firstLetters } from '@shared/lib/string-format';
|
||||
|
||||
interface Props {
|
||||
id?: string;
|
||||
@@ -94,7 +93,7 @@ const selectId = id ? `select-${id}` : undefined;
|
||||
id && (
|
||||
<select
|
||||
class:list={selectClass}
|
||||
placeholder={placeholder}
|
||||
{...({ placeholder } as unknown as astroHTML.JSX.SelectHTMLAttributes)}
|
||||
id={`select-${id}`}
|
||||
value={value}
|
||||
multiple={isMultiple ? '' : undefined}
|
||||
|
||||
Reference in New Issue
Block a user