From d178a632810d5264c43f49fc896fd43e259e7749 Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Wed, 3 Apr 2024 11:34:42 +0200 Subject: [PATCH] Apply prettier to all files in the frontend --- frontend/.prettierignore | 4 + frontend/index.html | 6 +- .../src/components/Block/Block.module.css | 12 +- .../components/BlockList/BlockList.module.css | 8 +- .../Client/OAuth2ClientDetail.module.css | 12 +- .../src/components/Dialog/Dialog.module.css | 163 ++++++------- .../ExternalLink/ExternalLink.module.css | 8 +- .../src/components/GenericError.module.css | 10 +- .../LoadingScreen/LoadingScreen.module.css | 12 +- .../LoadingSpinner/LoadingSpinner.module.css | 32 +-- .../src/components/NavBar/NavBar.module.css | 12 +- .../src/components/NavItem/NavItem.module.css | 55 +++-- .../PageHeading/PageHeading.module.css | 119 +++++----- .../Session/ClientAvatar.module.css | 14 +- .../Session/DeviceTypeIcon.module.css | 14 +- .../components/Session/LastActive.module.css | 4 +- .../SessionCard/SessionCard.module.css | 215 +++++++++--------- .../BrowserSessionDetail.module.css | 4 +- .../SessionDetail/SessionHeader.module.css | 58 ++--- .../components/UserEmail/UserEmail.module.css | 2 +- .../UserGreeting/UserGreeting.module.css | 50 ++-- .../UserProfile/EditInPlace.module.css | 80 +++---- .../BrowserSessionsOverview.module.css | 18 +- frontend/src/styles/cpd-checkbox-control.css | 15 +- frontend/src/styles/cpd-link.css | 2 +- frontend/src/styles/cpd-mfa-control.css | 10 +- frontend/src/templates.css | 6 +- frontend/tsconfig.json | 12 +- frontend/vite.config.ts | 2 +- 29 files changed, 484 insertions(+), 475 deletions(-) create mode 100644 frontend/.prettierignore diff --git a/frontend/.prettierignore b/frontend/.prettierignore new file mode 100644 index 00000000..ef6d00ba --- /dev/null +++ b/frontend/.prettierignore @@ -0,0 +1,4 @@ +.storybook/locales.ts +locales/*.json +src/routeTree.gen.ts +src/gql/* diff --git a/frontend/index.html b/frontend/index.html index d274775b..5dc65ea8 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -16,14 +16,16 @@ limitations under the License. - + matrix-authentication-service