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/components/Mixins/BVToastMixin.js b/src/components/Mixins/BVToastMixin.js
index 95ac531..5e8ec00 100644
--- a/src/components/Mixins/BVToastMixin.js
+++ b/src/components/Mixins/BVToastMixin.js
@@ -2,7 +2,7 @@
import StatusIcon from '../Global/StatusIcon';
const BVToastMixin = {
components: {
- StatusIcon
+ StatusIcon,
},
methods: {
toastTitle(title, status) {
@@ -12,7 +12,7 @@
{ class: 'toast-icon' },
[
this.$createElement('StatusIcon', { props: { status: status } }),
- title
+ title,
]
);
return titleWithIcon;
@@ -23,7 +23,7 @@
variant: 'success',
autoHideDelay: 10000, //auto hide in milliseconds
isStatus: true,
- solid: true
+ solid: true,
});
},
errorToast(message, title = i18n.t('global.status.error')) {
@@ -32,7 +32,7 @@
variant: 'danger',
noAutoHide: true,
isStatus: true,
- solid: true
+ solid: true,
});
},
warningToast(message, title = i18n.t('global.status.warning')) {
@@ -41,7 +41,7 @@
variant: 'warning',
noAutoHide: true,
isStatus: true,
- solid: true
+ solid: true,
});
},
infoToast(message, title = i18n.t('global.status.informational')) {
@@ -50,10 +50,10 @@
variant: 'info',
noAutoHide: true,
isStatus: true,
- solid: true
+ solid: true,
});
- }
- }
+ },
+ },
};
export default BVToastMixin;