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/AppNavigation/AppNavigation.vue b/src/components/AppNavigation/AppNavigation.vue
index 5d8a17f..18b8000 100644
--- a/src/components/AppNavigation/AppNavigation.vue
+++ b/src/components/AppNavigation/AppNavigation.vue
@@ -63,16 +63,16 @@
mixins: [AppNavigationMixin],
data() {
return {
- isNavigationOpen: false
+ isNavigationOpen: false,
};
},
watch: {
- $route: function() {
+ $route: function () {
this.isNavigationOpen = false;
},
- isNavigationOpen: function(isNavigationOpen) {
+ isNavigationOpen: function (isNavigationOpen) {
this.$root.$emit('change:isNavigationOpen', isNavigationOpen);
- }
+ },
},
mounted() {
this.$root.$on('toggle:navigation', () => this.toggleIsOpen());
@@ -80,8 +80,8 @@
methods: {
toggleIsOpen() {
this.isNavigationOpen = !this.isNavigationOpen;
- }
- }
+ },
+ },
};
</script>