From 49af31acf76704bd8ab4fc23280150ce9e52af8f Mon Sep 17 00:00:00 2001
From: Muhammad Arsalan <muhammad@ebi.ac.uk>
Date: Mon, 9 Oct 2023 13:39:08 +0100
Subject: [PATCH] :rotating_light: Fix linting

---
 components/search/ResultsList.vue | 14 ++++----------
 pages/index.vue                   |  8 ++++----
 pages/search/index.vue            |  6 +++---
 3 files changed, 11 insertions(+), 17 deletions(-)

diff --git a/components/search/ResultsList.vue b/components/search/ResultsList.vue
index b319874..49955af 100644
--- a/components/search/ResultsList.vue
+++ b/components/search/ResultsList.vue
@@ -36,7 +36,7 @@
                 ></h4>
               </NuxtLink>
             </v-card-title>
-<!--            Card body display if SVG structure exists -->
+            <!-- Card body display if SVG structure exists -->
             <v-row style="flex: 1" v-if="result._source.default_structure">
               <v-col
                 cols="4"
@@ -55,9 +55,7 @@
               </v-col>
               <v-col cols="8">
                 <v-card-text>
-                  <div
-                    class="text-overflow-adjust"
-                  >
+                  <div class="text-overflow-adjust">
                     <b>CHEBI:{{ result._id }} </b><br />
                   </div>
                   <div class="text-overflow-adjust">
@@ -86,13 +84,12 @@
                     >
                       <b>Charge: </b>{{ result._source.charge }}<br />
                     </div>
-
                   </div>
                 </v-card-text>
               </v-col>
             </v-row>
 
-<!--            Card body display if structure does not exist (show definition instead)-->
+            <!-- Card body display if structure does not exist (show definition instead) -->
             <v-row style="flex: 1" v-else>
               <v-col
                 cols="12"
@@ -104,9 +101,7 @@
                 "
               >
                 <v-card-text>
-                  <div
-                    class="text-overflow-adjust"
-                  >
+                  <div class="text-overflow-adjust">
                     <b>CHEBI:{{ result._id }} </b><br />
                   </div>
                   <div class="text-overflow-adjust">
@@ -135,7 +130,6 @@
                     >
                       <b>Charge: </b>{{ result._source.charge }}<br />
                     </div>
-
                   </div>
                   <div class="" v-if="result._source.definition">
                     <b>Definition: </b>{{ result._source.definition }}
diff --git a/pages/index.vue b/pages/index.vue
index 3acaa8e..755f913 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -18,14 +18,14 @@
             >Chemical Biology</NuxtLink
           >
         </p>
-        <h2 class="vf-hero__heading" style="max-width: none">
-          ChEBI
-        </h2>
+        <h2 class="vf-hero__heading" style="max-width: none">ChEBI</h2>
         <p class="vf-hero__subheading" style="max-width: 60ch">
           <span class="chebi-blue-font">Ch</span>emical
           <span class="chebi-blue-font">E</span>ntities of
           <span class="chebi-blue-font">B</span>iological
-          <span class="chebi-blue-font">I</span>nterest (ChEBI) is a freely available dictionary of molecular entities focused on ‘small’ chemical compounds
+          <span class="chebi-blue-font">I</span>nterest (ChEBI) is a freely
+          available dictionary of molecular entities focused on ‘small’ chemical
+          compounds
         </p>
 
         <form
diff --git a/pages/search/index.vue b/pages/search/index.vue
index 8103cf4..3503b40 100644
--- a/pages/search/index.vue
+++ b/pages/search/index.vue
@@ -1,8 +1,8 @@
 <template>
   <v-container>
-<!--    <v-alert class="pa-2 px-6">-->
-<!--      Search Results for "{{ searchQuery }}"-->
-<!--    </v-alert>-->
+    <!--    <v-alert class="pa-2 px-6">-->
+    <!--      Search Results for "{{ searchQuery }}"-->
+    <!--    </v-alert>-->
 
     <SearchResultsList :results="results" />
 
-- 
GitLab