From f61c5ac797f580176dcf422be93969fc4440fcd4 Mon Sep 17 00:00:00 2001 From: Joris Noordermeer Date: Wed, 8 Jan 2020 16:49:35 +0100 Subject: [PATCH] Chore: Fix eslint issues --- .github/workflows/lint-js.yml | 14 +++++----- src/js/App.vue | 32 +++++++++++----------- src/js/components/Album.vue | 29 +++++++++++--------- src/js/components/ExternalLogos.vue | 7 ++--- src/js/components/FooterLinks.vue | 41 ++++++++++++++++++++--------- src/js/components/Mountain.vue | 10 +++---- src/js/components/Shows.vue | 25 +++++++++++------- src/js/components/SocialLinks.vue | 25 ++++++++++-------- src/js/components/SpotifyLinks.vue | 26 +++++++++++++----- 9 files changed, 124 insertions(+), 85 deletions(-) diff --git a/.github/workflows/lint-js.yml b/.github/workflows/lint-js.yml index d3077c7..4ba2780 100644 --- a/.github/workflows/lint-js.yml +++ b/.github/workflows/lint-js.yml @@ -1,12 +1,12 @@ name: Run Eslint -#on: -# push: -# branches: -# - master -# paths: -# - '**.js' -# - '**.vue' +on: + push: + branches: + - master + paths: + - '**.js' + - '**.vue' jobs: eslint: diff --git a/src/js/App.vue b/src/js/App.vue index cc6068f..2663957 100644 --- a/src/js/App.vue +++ b/src/js/App.vue @@ -1,29 +1,27 @@ @@ -34,20 +32,20 @@ import Logo from "./components/Logo"; import Mountain from "./components/Mountain"; import Shows from "./components/Shows"; - import SocialLinks from "./components/SocialLinks"; + // import SocialLinks from "./components/SocialLinks"; import ExternalLogos from "./components/ExternalLogos"; - import SpotifyLinks from "./components/SpotifyLinks"; + // import SpotifyLinks from "./components/SpotifyLinks"; import { data as albums } from '../content/albums.md'; import { data as socialmedia } from '../content/socialmedia.md'; - import events from '../content/events' + import events from '../content/events'; // import { data as music } from '../content/music.md'; // import { data as footer } from '../content/footer.md'; export default { name: "App", components: { - Album, FooterLinks, Logo, Mountain, Shows, SocialLinks, ExternalLogos, SpotifyLinks, + Album, FooterLinks, Logo, Mountain, Shows, ExternalLogos, }, data() { @@ -57,7 +55,7 @@ socialmedia: JSON.parse(JSON.stringify(socialmedia.socialmedia)), // music: JSON.parse(JSON.stringify(data.music)), // footer: JSON.parse(JSON.stringify(footer.footer)), - } + }; }, created() { @@ -69,5 +67,5 @@ // console.log(events); }, - } + }; diff --git a/src/js/components/Album.vue b/src/js/components/Album.vue index 8334cf0..cfe867c 100755 --- a/src/js/components/Album.vue +++ b/src/js/components/Album.vue @@ -16,30 +16,33 @@ }, }, - } + }; diff --git a/src/js/components/ExternalLogos.vue b/src/js/components/ExternalLogos.vue index 59934ff..9854885 100755 --- a/src/js/components/ExternalLogos.vue +++ b/src/js/components/ExternalLogos.vue @@ -7,15 +7,16 @@ type: Array, default: () => [], }, - } + }, - } + };