From fdc4686f9ed0761779c58620dba182e675402ca9 Mon Sep 17 00:00:00 2001 From: Christoph Niehoff Date: Fri, 24 May 2024 15:26:53 +0200 Subject: [PATCH] Fix linting errors after merging master branch Signed-off-by: Christoph Niehoff --- src/client/components/footer/footer.tsx | 4 ++-- .../components/license/licenseAttribution.tsx | 22 ++++++++++--------- src/utils/GameMode.ts | 2 +- src/utils/cardDefinitions.ts | 2 +- 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/src/client/components/footer/footer.tsx b/src/client/components/footer/footer.tsx index 102c8452..ba83daff 100644 --- a/src/client/components/footer/footer.tsx +++ b/src/client/components/footer/footer.tsx @@ -26,10 +26,10 @@ const Footer: FC = ({ short }) => ( Elevation of Privilege was originally invented at Microsoft, Cornucopia was developed at OWASP, Cumulus was started at{' '} TNG Technology Consulting, - Elevation of MLsec was developed at {' '} + Elevation of MLsec was developed at{' '} Kantega AS. -
+
diff --git a/src/client/components/license/licenseAttribution.tsx b/src/client/components/license/licenseAttribution.tsx index e7334f3f..d90c79e7 100644 --- a/src/client/components/license/licenseAttribution.tsx +++ b/src/client/components/license/licenseAttribution.tsx @@ -53,18 +53,20 @@ const LicenseAttribution: React.FC = ({
); - case GameMode.EOMLSEC: - return ( -
- The card game Elevation of MLsec by{' '} - - Kantega AS + case GameMode.EOMLSEC: + return ( +
+ The card game{' '} + + Elevation of MLsec {' '} - is licensed under{' '} - CC BY-SA 4.0 DEED. + by Kantega AS is licensed under{' '} + + CC BY-SA 4.0 DEED + + .
- ); - + ); default: return <>; diff --git a/src/utils/GameMode.ts b/src/utils/GameMode.ts index 147b183b..901b1368 100644 --- a/src/utils/GameMode.ts +++ b/src/utils/GameMode.ts @@ -19,7 +19,7 @@ export function getCardCssClass(gameMode: GameMode, c: Card): string { } if (isGameModeElevationOfMlSec(gameMode)) { - return `eomlsec-card eomlsec-card-img-${c.toLowerCase()}` + return `eomlsec-card eomlsec-card-img-${c.toLowerCase()}`; } return `eop-card eop-card-img-${c.toLowerCase()}`; diff --git a/src/utils/cardDefinitions.ts b/src/utils/cardDefinitions.ts index 2f63a79f..8d6f1408 100644 --- a/src/utils/cardDefinitions.ts +++ b/src/utils/cardDefinitions.ts @@ -467,7 +467,7 @@ const CARD_DECKS: CardDeckDefinitions = { ], isTrump: true, isDefault: false, - } + }, }, };