From af44849eda36c6aa0dcfb4507f99a4cc2b751bc7 Mon Sep 17 00:00:00 2001 From: Arthur Lefebvre Date: Wed, 4 Mar 2026 15:37:59 +0100 Subject: [PATCH] Add prettier dependency to format frontend code --- front/.prettierignore | 1 + front/index.html | 10 +- front/src/AddBook.vue | 87 ++++++----- front/src/App.vue | 6 +- front/src/AppNavBar.vue | 148 +++++++++--------- front/src/AuthorForm.vue | 38 +++-- front/src/BarcodeModal.vue | 64 ++++---- front/src/BigIcon.vue | 85 ++++++----- front/src/BookCard.vue | 55 ++++--- front/src/BookDateWidget.vue | 98 ++++++------ front/src/BookForm.vue | 259 +++++++++++++++++--------------- front/src/BookListElement.vue | 122 ++++++++------- front/src/BooksBrowser.vue | 97 ++++++------ front/src/CoverUpload.vue | 110 +++++++------- front/src/Home.vue | 15 +- front/src/ImportInventaire.vue | 86 ++++++----- front/src/ImportListElement.vue | 99 ++++++------ front/src/LogIn.vue | 101 +++++++------ front/src/NavBarSearch.vue | 61 ++++---- front/src/Pagination.vue | 147 +++++++++--------- front/src/ScanBook.vue | 42 +++--- front/src/SearchBook.vue | 129 ++++++++-------- front/src/SignUp.vue | 89 ++++++----- front/src/api.js | 133 ++++++++-------- front/src/auth.store.js | 19 ++- front/src/locales/en.json | 41 +++-- front/src/locales/fr.json | 42 +++--- front/src/main.js | 25 ++- front/src/router.js | 18 +-- front/src/styles/global.css | 2 +- front/vite.config.js | 7 +- 31 files changed, 1166 insertions(+), 1070 deletions(-) create mode 100644 front/.prettierignore diff --git a/front/.prettierignore b/front/.prettierignore new file mode 100644 index 0000000..a48cf0d --- /dev/null +++ b/front/.prettierignore @@ -0,0 +1 @@ +public diff --git a/front/index.html b/front/index.html index 65dbdc5..7a40a40 100644 --- a/front/index.html +++ b/front/index.html @@ -1,10 +1,10 @@ - + - - - - + + + + Personal Library Manager diff --git a/front/src/AddBook.vue b/front/src/AddBook.vue index fb59f7a..7de5dcf 100644 --- a/front/src/AddBook.vue +++ b/front/src/AddBook.vue @@ -1,60 +1,69 @@