Merged in chore/eslint-curly-braces (pull request #3304)

Chore/eslint curly braces

* Add eslint rule for curly braces

* run eslint --fix for all files


Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2025-12-08 07:56:21 +00:00
parent 5986828580
commit de4b3c1c3c
54 changed files with 139 additions and 104 deletions

View File

@@ -18,7 +18,7 @@ export function AlreadyLinkedError() {
<SASModal>
<MaterialIcon
icon="check_circle"
color={"Icon/Feedback/Success"}
color="Icon/Feedback/Success"
isFilled
size={64}
/>
@@ -43,9 +43,9 @@ export function AlreadyLinkedError() {
<Typography variant="Body/Paragraph/mdBold">
<ButtonLink
href={partnerSas[lang]}
variant={"Tertiary"}
color={"Primary"}
size={"Large"}
variant="Tertiary"
color="Primary"
size="Large"
>
{intl.formatMessage({
id: "linkEuroBonusAccount.viewLinkedAccountsButton",

View File

@@ -54,7 +54,7 @@ export function LinkAccountForm({
<form onSubmit={handleSubmit} className={styles.form}>
<div className={styles.titles}>
<Image
alt={"Scandic ❤️ SAS"}
alt="Scandic ❤️ SAS"
height={25}
width={182}
src="/_static/img/partner/sas/sas-campaign-logo.png"

View File

@@ -78,9 +78,8 @@ export default function GlobalError({
<p>
<strong>
{
"While we're working hard to fix it, you can always give us a call:"
}
While we&apos;re working hard to fix it, you can always give us a
call:
</strong>
</p>