style(soma): formato Prettier en el test de gradient-picker

Dos envolturas de línea que el formateador del proyecto no acepta, en un
fichero que escribí yo. Detectado auditando mi propio trabajo contra las
reglas duras.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
alpha-0.1-sec-dom
dev 2 months ago
parent 17a1f167b7
commit 352ca8bbec

@ -41,10 +41,7 @@ function linear(from: string, to: string, angle = 90): Gradient {
return {
kind: 'linear',
angle,
stops: [
{ color: { kind: 'css', value: from } },
{ color: { kind: 'css', value: to } }
]
stops: [{ color: { kind: 'css', value: from } }, { color: { kind: 'css', value: to } }]
};
}
@ -53,7 +50,12 @@ const RED_BLUE = linear('#ff0000', '#0000ff');
const GREEN_TEAL = linear('#00ff00', '#008080');
function mountPicker(
overrides: { value?: Gradient; committed?: Gradient; presets?: Gradient[]; maxPresets?: number } = {}
overrides: {
value?: Gradient;
committed?: Gradient;
presets?: Gradient[];
maxPresets?: number;
} = {}
) {
const el = document.createElement('div');
document.body.append(el);

Loading…
Cancel
Save

Powered by TurnKey Linux.