♻️ Replace eslint and prettier with biome (#1697)

This commit is contained in:
Luke Vella 2025-04-28 19:47:47 +01:00 committed by GitHub
parent 1577a0c5df
commit a34da49486
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
158 changed files with 450 additions and 2718 deletions

View file

@ -133,14 +133,11 @@ AbandonedCheckoutEmail.getSubject = (
props: AbandonedCheckoutEmailProps,
ctx: EmailContext,
) => {
return (
"🎉 " +
ctx.t("abandoned_checkout_subject", {
defaultValue: "Get {{discount}}% off your first year of Rallly Pro",
discount: props.discount,
ns: "emails",
})
);
return `🎉 ${ctx.t("abandoned_checkout_subject", {
defaultValue: "Get {{discount}}% off your first year of Rallly Pro",
discount: props.discount,
ns: "emails",
})}`;
};
export default AbandonedCheckoutEmail;

View file

@ -3,10 +3,10 @@ import { Trans } from "react-i18next/TransWithoutContext";
import { EmailLayout } from "../components/email-layout";
import {
borderColor,
Button,
Heading,
Text,
borderColor,
} from "../components/styled-components";
import type { EmailContext } from "../types";

View file

@ -3,10 +3,10 @@ import { Trans } from "react-i18next/TransWithoutContext";
import { EmailLayout } from "../components/email-layout";
import {
borderColor,
Button,
Heading,
Text,
borderColor,
} from "../components/styled-components";
import type { EmailContext } from "../types";