diff options
author | Derick Montague <derick.montague@ibm.com> | 2019-12-20 22:26:53 +0300 |
---|---|---|
committer | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-01-29 01:18:05 +0300 |
commit | e2fd156773dbc2e919c912673de092d707e8ef69 (patch) | |
tree | 5b861f723e71156def2a096d0542de96841ee27a /src/views/Overview/Overview.vue | |
parent | f65ee346bedb1811e88b12542abce0d18bb5fc32 (diff) | |
download | webui-vue-e2fd156773dbc2e919c912673de092d707e8ef69.tar.xz |
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
Diffstat (limited to 'src/views/Overview/Overview.vue')
-rw-r--r-- | src/views/Overview/Overview.vue | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/views/Overview/Overview.vue b/src/views/Overview/Overview.vue index 570f8494..2672af7e 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 @@ export default { }), 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'); } } }; |