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
diff --git a/src/views/Overview/Overview.vue b/src/views/Overview/Overview.vue
index 570f849..2672af7 100644
--- a/src/views/Overview/Overview.vue
+++ b/src/views/Overview/Overview.vue
@@ -87,13 +87,13 @@
</template>
<script>
-import OverviewQuickLinks from "./OverviewQuickLinks";
-import OverviewEvents from "./OverviewEvents";
-import PageTitle from "../../components/Global/PageTitle";
-import PageSection from "../../components/Global/PageSection";
-import { mapState } from "vuex";
+import OverviewQuickLinks from './OverviewQuickLinks';
+import OverviewEvents from './OverviewEvents';
+import PageTitle from '../../components/Global/PageTitle';
+import PageSection from '../../components/Global/PageSection';
+import { mapState } from 'vuex';
export default {
- name: "Overview",
+ name: 'Overview',
components: {
OverviewQuickLinks,
OverviewEvents,
@@ -117,12 +117,12 @@
}),
methods: {
getOverviewInfo() {
- this.$store.dispatch("overview/getServerInfo");
- this.$store.dispatch("global/getHostName");
- this.$store.dispatch("firmware/getFirmwareInfo");
- this.$store.dispatch("powerConsumption/getPowerData");
- this.$store.dispatch("powerCap/getPowerCapData");
- this.$store.dispatch("networkSettings/getNetworkData");
+ this.$store.dispatch('overview/getServerInfo');
+ this.$store.dispatch('global/getHostName');
+ this.$store.dispatch('firmware/getFirmwareInfo');
+ this.$store.dispatch('powerConsumption/getPowerData');
+ this.$store.dispatch('powerCap/getPowerCapData');
+ this.$store.dispatch('networkSettings/getNetworkData');
}
}
};