From ffa4173e707fedb619a64d2e2eae149722ab7c5a Mon Sep 17 00:00:00 2001 From: Front <27463495+Frontesque@users.noreply.github.com> Date: Mon, 27 Dec 2021 14:39:54 -0500 Subject: [PATCH] linted --- Website/layouts/default.vue | 12 +-- Website/nuxt.config.js | 4 +- Website/pages/documentation.vue | 73 ++++++++--------- Website/pages/documentation/endpoints.vue | 15 ++-- Website/pages/documentation/fetching.vue | 84 ++++++++++++-------- Website/pages/documentation/index.vue | 4 +- Website/pages/documentation/url.vue | 15 ++-- Website/pages/documentation/usage-rights.vue | 19 +++-- 8 files changed, 127 insertions(+), 99 deletions(-) diff --git a/Website/layouts/default.vue b/Website/layouts/default.vue index a760691..f986e48 100644 --- a/Website/layouts/default.vue +++ b/Website/layouts/default.vue @@ -31,12 +31,12 @@ export default { data: () => ({ links: [ - { name: "Home", path: "/"}, - { name: "Install", path: "/install"}, - { name: "FAQ", path: "/faq"}, - { name: "Donate", path: "/donate"}, - { name: "Links", path: "/links"}, - { name: "API", path: "/documentation"}, + { name: "Home", path: "/" }, + { name: "Install", path: "/install" }, + { name: "FAQ", path: "/faq" }, + { name: "Donate", path: "/donate" }, + { name: "Links", path: "/links" }, + { name: "API", path: "/documentation" }, ], }), }; diff --git a/Website/nuxt.config.js b/Website/nuxt.config.js index ab52a12..20a53b3 100644 --- a/Website/nuxt.config.js +++ b/Website/nuxt.config.js @@ -28,7 +28,7 @@ export default { }, env: { - apiUrl: "https://returnyoutubedislikeapi.com" + apiUrl: "https://returnyoutubedislikeapi.com", }, target: "static", @@ -56,7 +56,7 @@ export default { }, }, }, -/* + /* build: { extend(config, ctx) { // Run ESLint on save (dev-only) diff --git a/Website/pages/documentation.vue b/Website/pages/documentation.vue index 545b156..ff21a68 100644 --- a/Website/pages/documentation.vue +++ b/Website/pages/documentation.vue @@ -1,16 +1,15 @@ diff --git a/Website/pages/documentation/endpoints.vue b/Website/pages/documentation/endpoints.vue index 6fa2bb4..ef94c10 100644 --- a/Website/pages/documentation/endpoints.vue +++ b/Website/pages/documentation/endpoints.vue @@ -1,9 +1,8 @@ @@ -13,8 +12,8 @@ export default { data() { return { apiUrl: apiUrl, - endpointUrl: apiUrl+'/swagger/index.html' - } - } -} - \ No newline at end of file + endpointUrl: apiUrl + "/swagger/index.html", + }; + }, +}; + diff --git a/Website/pages/documentation/fetching.vue b/Website/pages/documentation/fetching.vue index 9badebb..651f2b8 100644 --- a/Website/pages/documentation/fetching.vue +++ b/Website/pages/documentation/fetching.vue @@ -1,43 +1,61 @@ @@ -54,7 +72,7 @@ export default { data() { return { apiUrl: process.env.apiUrl, - } - } -} - \ No newline at end of file + }; + }, +}; + diff --git a/Website/pages/documentation/index.vue b/Website/pages/documentation/index.vue index 432fc8f..ad3cd1d 100644 --- a/Website/pages/documentation/index.vue +++ b/Website/pages/documentation/index.vue @@ -1,6 +1,8 @@ diff --git a/Website/pages/documentation/url.vue b/Website/pages/documentation/url.vue index c5b5389..e95f542 100644 --- a/Website/pages/documentation/url.vue +++ b/Website/pages/documentation/url.vue @@ -1,9 +1,8 @@ @@ -11,8 +10,8 @@ export default { data() { return { - apiUrl: process.env.apiUrl - } - } -} - \ No newline at end of file + apiUrl: process.env.apiUrl, + }; + }, +}; + diff --git a/Website/pages/documentation/usage-rights.vue b/Website/pages/documentation/usage-rights.vue index 22566ae..fd310e1 100644 --- a/Website/pages/documentation/usage-rights.vue +++ b/Website/pages/documentation/usage-rights.vue @@ -1,12 +1,21 @@ @@ -17,4 +26,4 @@ li { b { font-weight: 900 !important; } - \ No newline at end of file +