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/store/modules/Health/SystemStore.js b/src/store/modules/Health/SystemStore.js
index 828b78b..30ae66b 100644
--- a/src/store/modules/Health/SystemStore.js
+++ b/src/store/modules/Health/SystemStore.js
@@ -3,10 +3,10 @@
const SystemStore = {
namespaced: true,
state: {
- systems: []
+ systems: [],
},
getters: {
- systems: state => state.systems
+ systems: (state) => state.systems,
},
mutations: {
setSystemInfo: (state, data) => {
@@ -26,16 +26,16 @@
system.statusState = data.Status.State;
system.systemType = data.SystemType;
state.systems = [system];
- }
+ },
},
actions: {
async getSystem({ commit }) {
return await api
.get('/redfish/v1/Systems/system')
.then(({ data }) => commit('setSystemInfo', data))
- .catch(error => console.log(error));
- }
- }
+ .catch((error) => console.log(error));
+ },
+ },
};
export default SystemStore;