fix(login): prettier setup (#11798)

# Which Problems Are Solved
Invalid formatting in the login codebase due to invalid prettier
configuration

# How the Problems Are Solved
Fxed .prettierignore wildcards for login source files

# Additional Changes
Removed .prettierrc file because there is already a prettier.config.mjs
file

# Additional Context
This commit is contained in:
Ramon
2026-03-10 13:30:20 +00:00
committed by GitHub
parent 33c635fbc3
commit 057fb8dff2
156 changed files with 761 additions and 1231 deletions
+4 -16
View File
@@ -28,9 +28,7 @@ export function ConsentScreen({
async function denyDeviceAuth() {
setLoading(true);
const response = await completeDeviceAuthorization(
deviceAuthorizationRequestId,
)
const response = await completeDeviceAuthorization(deviceAuthorizationRequestId)
.catch(() => {
setError("Could not register user");
return;
@@ -59,8 +57,7 @@ export function ConsentScreen({
const description = t(translationKey);
// Check if the key itself is returned and provide a fallback
const resolvedDescription =
description === translationKey ? "" : description;
const resolvedDescription = description === translationKey ? "" : description;
return (
<li
@@ -74,11 +71,7 @@ export function ConsentScreen({
</ul>
<p className="ztdl-p text-left text-xs">
<Translated
i18nKey="request.disclaimer"
namespace="device"
data={{ appName: appName }}
/>
<Translated i18nKey="request.disclaimer" namespace="device" data={{ appName: appName }} />
</p>
{error && (
@@ -101,12 +94,7 @@ export function ConsentScreen({
<span className="flex-grow"></span>
<Link href={nextUrl}>
<Button
data-testid="submit-button"
type="submit"
className="self-end"
variant={ButtonVariants.Primary}
>
<Button data-testid="submit-button" type="submit" className="self-end" variant={ButtonVariants.Primary}>
<Translated i18nKey="device.request.submit" namespace="device" />
</Button>
</Link>