Update linting packages to use latest
- 99% of changes were small syntax changes that were changed by the
lint command. There were a couple of small manual changes to meet the
property order patterns established as part of the vue:recommended
guidelines.
There are rules that were set from errors to warnings and new stories
are being opened to address those issues.
Testing:
- Successfully ran npm run serve
- Successfully ran npm run lint
- Verified functionality works as expected, e.g. success and failure use cases
- Resolved any JavaScript errors thrown to the console
Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: Ie082f31c73ccbe8a60afa8f88a9ef6dbf33d9fd2
diff --git a/src/views/Overview/OverviewEvents.vue b/src/views/Overview/OverviewEvents.vue
index ac39a2b..83aa677 100644
--- a/src/views/Overview/OverviewEvents.vue
+++ b/src/views/Overview/OverviewEvents.vue
@@ -20,11 +20,11 @@
:fields="fields"
:empty-text="$t('pageOverview.events.noHighEventsMsg')"
>
- <template v-slot:cell(severity)="{ value }">
+ <template #cell(severity)="{ value }">
<status-icon status="danger" />
{{ value }}
</template>
- <template v-slot:cell(date)="{ value }">
+ <template #cell(date)="{ value }">
<p class="mb-0">{{ value | formatDate }}</p>
<p class="mb-0">{{ value | formatTime }}</p>
</template>
@@ -43,36 +43,36 @@
fields: [
{
key: 'id',
- label: this.$t('pageOverview.events.id')
+ label: this.$t('pageOverview.events.id'),
},
{
key: 'severity',
- label: this.$t('pageOverview.events.severity')
+ label: this.$t('pageOverview.events.severity'),
},
{
key: 'type',
- label: this.$t('pageOverview.events.type')
+ label: this.$t('pageOverview.events.type'),
},
{
key: 'date',
- label: this.$t('pageOverview.events.date')
+ label: this.$t('pageOverview.events.date'),
},
{
key: 'description',
- label: this.$t('pageOverview.events.description')
- }
- ]
+ label: this.$t('pageOverview.events.description'),
+ },
+ ],
};
},
computed: {
eventLogData() {
return this.$store.getters['eventLog/highPriorityEvents'];
- }
+ },
},
created() {
this.$store.dispatch('eventLog/getEventLogData').finally(() => {
this.$root.$emit('overview::events::complete');
});
- }
+ },
};
</script>