From e2fd156773dbc2e919c912673de092d707e8ef69 Mon Sep 17 00:00:00 2001
From: Derick Montague <derick.montague@ibm.com>
Date: Fri, 20 Dec 2019 13:26:53 -0600
Subject: Fix linting in script blocks in vue files

- Removed the .eslintrc and added the pretteri rules to the eslintrc file
- Ran `npm run lint --fix`

Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: I4e36c1967ae9b4d839ef88f1d47ffa20ab4e4991
---
 src/components/AppHeader/AppHeader.vue | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

(limited to 'src/components/AppHeader/AppHeader.vue')

diff --git a/src/components/AppHeader/AppHeader.vue b/src/components/AppHeader/AppHeader.vue
index 244eeb32..5c2c333c 100644
--- a/src/components/AppHeader/AppHeader.vue
+++ b/src/components/AppHeader/AppHeader.vue
@@ -36,38 +36,38 @@
 </template>
 
 <script>
-import IconAvatar from "@carbon/icons-vue/es/user--avatar/20";
-import IconRenew from "@carbon/icons-vue/es/renew/20";
-import StatusIcon from "../Global/StatusIcon";
+import IconAvatar from '@carbon/icons-vue/es/user--avatar/20';
+import IconRenew from '@carbon/icons-vue/es/renew/20';
+import StatusIcon from '../Global/StatusIcon';
 export default {
-  name: "AppHeader",
+  name: 'AppHeader',
   components: { IconAvatar, IconRenew, StatusIcon },
   created() {
     this.getHostInfo();
   },
   computed: {
     hostStatus() {
-      return this.$store.getters["global/hostStatus"];
+      return this.$store.getters['global/hostStatus'];
     },
     hostStatusIcon() {
       switch (this.hostStatus) {
-        case "on":
-          return "success";
-        case "error":
-          return "danger";
-        case "off":
+        case 'on':
+          return 'success';
+        case 'error':
+          return 'danger';
+        case 'off':
         default:
-          return "secondary";
+          return 'secondary';
       }
     }
   },
   methods: {
     getHostInfo() {
-      this.$store.dispatch("global/getHostStatus");
+      this.$store.dispatch('global/getHostStatus');
     },
     logout() {
-      this.$store.dispatch("authentication/logout").then(() => {
-        this.$router.push("/login");
+      this.$store.dispatch('authentication/logout').then(() => {
+        this.$router.push('/login');
       });
     }
   }
-- 
cgit v1.2.3

