From 48f5c6f2e2c6b700fb4732107a75326210e01b2e Mon Sep 17 00:00:00 2001 From: Drew Lytle Date: Sat, 4 Feb 2023 08:00:30 -0500 Subject: [PATCH 01/13] Add tailwind prettier plugin and run format --- .prettierrc | 4 - app/components/Dialog/Dialog.tsx | 10 +- app/components/Input/Input.tsx | 2 +- app/components/MarkingInput/MarkingInput.tsx | 4 +- app/components/NavBar/NavBar.tsx | 18 +- app/components/Search/Search.tsx | 6 +- app/components/Select/Select.tsx | 4 +- app/components/Stanza/Stanza.tsx | 8 +- app/components/Textarea/Textarea.tsx | 2 +- app/components/dialogs/AddSongs/AddSongs.tsx | 2 +- app/components/forms/logout/index.tsx | 2 +- app/components/forms/setlist/SetlistForm.tsx | 10 +- .../forms/song/LineFields/LineFields.tsx | 10 +- app/components/forms/song/SongForm.tsx | 4 +- .../forms/song/StanzaFields/StanzaFields.tsx | 14 +- app/routes/__app.tsx | 2 +- app/routes/__app/setlists/$id/index.tsx | 28 +-- app/routes/__app/setlists/index.tsx | 14 +- app/routes/__app/songs/$id/edit.tsx | 4 +- app/routes/__app/songs/$id/index.tsx | 8 +- app/routes/__app/songs/index.tsx | 12 +- app/routes/__app/songs/new.tsx | 2 +- app/routes/auth/auth0.tsx | 2 +- app/routes/index.tsx | 6 +- app/styles/tailwind.css | 214 ++++++++++-------- package-lock.json | 77 +++++++ package.json | 1 + prettier.config.js | 6 + 28 files changed, 294 insertions(+), 182 deletions(-) delete mode 100644 .prettierrc create mode 100644 prettier.config.js diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index dc6958f..0000000 --- a/.prettierrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "singleQuote": false, - "semi": true -} diff --git a/app/components/Dialog/Dialog.tsx b/app/components/Dialog/Dialog.tsx index 86c4652..bd5f6ab 100644 --- a/app/components/Dialog/Dialog.tsx +++ b/app/components/Dialog/Dialog.tsx @@ -25,17 +25,17 @@ export const Dialog: React.FC> = ({ data-testid="dialog" >
-
-
- +
+
+ diff --git a/app/components/forms/setlist/SetlistForm.tsx b/app/components/forms/setlist/SetlistForm.tsx index 782315c..3e6cf56 100644 --- a/app/components/forms/setlist/SetlistForm.tsx +++ b/app/components/forms/setlist/SetlistForm.tsx @@ -19,7 +19,7 @@ const SetlistForm = forwardRef< className="space-y-3" >
-
-