From 2445fe5fc12aead4484e361cbd62d74d5dfcdf79 Mon Sep 17 00:00:00 2001 From: Xevion Date: Thu, 19 May 2022 10:33:49 -0500 Subject: [PATCH] Format all Vue components with ESLint rules --- src/components/CharacterBadges.vue | 12 ++-- src/components/Episode.vue | 92 ++++++++++++++++-------------- src/components/Home.vue | 16 +++--- src/components/QuoteList.vue | 28 ++++----- src/components/SearchResult.vue | 30 ++++++---- src/components/SearchResults.vue | 2 +- src/components/Season.vue | 26 +++++---- src/components/SeasonList.vue | 31 +++++----- src/components/Skeleton.vue | 2 +- 9 files changed, 133 insertions(+), 106 deletions(-) diff --git a/src/components/CharacterBadges.vue b/src/components/CharacterBadges.vue index 84a35a5..686e5fd 100644 --- a/src/components/CharacterBadges.vue +++ b/src/components/CharacterBadges.vue @@ -1,12 +1,16 @@ diff --git a/src/components/Episode.vue b/src/components/Episode.vue index 646436d..86e49c1 100644 --- a/src/components/Episode.vue +++ b/src/components/Episode.vue @@ -1,29 +1,35 @@ - - - - + + + + @@ -35,6 +35,9 @@ export default { stats: null, }; }, + created() { + this.getStats(); + }, methods: { getStats() { const path = `${process.env.VUE_APP_API_URL}/api/stats/`; @@ -49,8 +52,5 @@ export default { }); }, }, - created() { - this.getStats(); - }, }; diff --git a/src/components/QuoteList.vue b/src/components/QuoteList.vue index 8d81db2..a5e10c0 100644 --- a/src/components/QuoteList.vue +++ b/src/components/QuoteList.vue @@ -2,24 +2,26 @@ - + - diff --git a/src/components/SearchResult.vue b/src/components/SearchResult.vue index ce79db5..6fb9ea4 100644 --- a/src/components/SearchResult.vue +++ b/src/components/SearchResult.vue @@ -1,13 +1,17 @@
- - {{ quote.speaker }} - + + + {{ quote.speaker }} + + + {{ quote.text }} {{ quote.text }} - - + +