From 602e98aa32f82fd3b0c3d250c7cc1f8da971db24 Mon Sep 17 00:00:00 2001 From: Derick Montague Date: Wed, 21 Oct 2020 16:20:00 -0500 Subject: 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 Change-Id: Ie082f31c73ccbe8a60afa8f88a9ef6dbf33d9fd2 --- src/env/components/AppNavigation/ibm.js | 56 ++++++------- .../FirmwareSingleImage/FirmwareSingleImage.vue | 50 +++++------ .../FirmwareSingleImageModalRebootBackup.vue | 8 +- src/env/router/ibm.js | 98 +++++++++++----------- .../FirmwareSingleImageStore.js | 58 ++++++------- 5 files changed, 135 insertions(+), 135 deletions(-) (limited to 'src/env') diff --git a/src/env/components/AppNavigation/ibm.js b/src/env/components/AppNavigation/ibm.js index 1f25230a..a9870d3b 100644 --- a/src/env/components/AppNavigation/ibm.js +++ b/src/env/components/AppNavigation/ibm.js @@ -12,7 +12,7 @@ const AppNavigationMixin = { iconControl: IconSettingsAdjust, iconConfiguration: IconSettings, iconAccessControl: IconPassword, - iconExpand: IconChevronUp + iconExpand: IconChevronUp, }, data() { return { @@ -21,7 +21,7 @@ const AppNavigationMixin = { id: 'overview', label: this.$t('appNavigation.overview'), route: '/', - icon: 'iconOverview' + icon: 'iconOverview', }, { id: 'health', @@ -31,19 +31,19 @@ const AppNavigationMixin = { { id: 'event-logs', label: this.$t('appNavigation.eventLogs'), - route: '/health/event-logs' + route: '/health/event-logs', }, { id: 'hardware-status', label: this.$t('appNavigation.hardwareStatus'), - route: '/health/hardware-status' + route: '/health/hardware-status', }, { id: 'sensors', label: this.$t('appNavigation.sensors'), - route: '/health/sensors' - } - ] + route: '/health/sensors', + }, + ], }, { id: 'control', @@ -53,29 +53,29 @@ const AppNavigationMixin = { { id: 'manage-power-usage', label: this.$t('appNavigation.managePowerUsage'), - route: '/control/manage-power-usage' + route: '/control/manage-power-usage', }, { id: 'reboot-bmc', label: this.$t('appNavigation.rebootBmc'), - route: '/control/reboot-bmc' + route: '/control/reboot-bmc', }, { id: 'serial-over-lan', label: this.$t('appNavigation.serialOverLan'), - route: '/control/serial-over-lan' + route: '/control/serial-over-lan', }, { id: 'server-led', label: this.$t('appNavigation.serverLed'), - route: '/control/server-led' + route: '/control/server-led', }, { id: 'server-power-operations', label: this.$t('appNavigation.serverPowerOperations'), - route: '/control/server-power-operations' - } - ] + route: '/control/server-power-operations', + }, + ], }, { id: 'configuration', @@ -85,24 +85,24 @@ const AppNavigationMixin = { { id: 'date-time-settings', label: this.$t('appNavigation.dateTimeSettings'), - route: '/configuration/date-time-settings' + route: '/configuration/date-time-settings', }, { id: 'firmware', label: this.$t('appNavigation.firmware'), - route: '/configuration/firmware' + route: '/configuration/firmware', }, { id: 'network-settings', label: this.$t('appNavigation.networkSettings'), - route: '/configuration/network-settings' + route: '/configuration/network-settings', }, { id: 'snmp-settings', label: this.$t('appNavigation.snmpSettings'), - route: '' - } - ] + route: '', + }, + ], }, { id: 'access-control', @@ -112,23 +112,23 @@ const AppNavigationMixin = { { id: 'ldap', label: this.$t('appNavigation.ldap'), - route: '/access-control/ldap' + route: '/access-control/ldap', }, { id: 'local-user-management', label: this.$t('appNavigation.localUserManagement'), - route: '/access-control/local-user-management' + route: '/access-control/local-user-management', }, { id: 'ssl-certificates', label: this.$t('appNavigation.sslCertificates'), - route: '/access-control/ssl-certificates' - } - ] - } - ] + route: '/access-control/ssl-certificates', + }, + ], + }, + ], }; - } + }, }; export default AppNavigationMixin; diff --git a/src/env/components/FirmwareSingleImage/FirmwareSingleImage.vue b/src/env/components/FirmwareSingleImage/FirmwareSingleImage.vue index 3ad717e5..03f5af4c 100644 --- a/src/env/components/FirmwareSingleImage/FirmwareSingleImage.vue +++ b/src/env/components/FirmwareSingleImage/FirmwareSingleImage.vue @@ -13,7 +13,7 @@ {{ $t('pageFirmware.alert.serverShutdownRequiredBeforeUpdate') }}

{{ $t('pageFirmware.alert.serverShutdownRequiredInfo') }} -