]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
chore: lint
authorBastien Wirtz <bastien.wirtz@gmail.com>
Sun, 10 Mar 2024 13:19:43 +0000 (14:19 +0100)
committerBastien Wirtz <bastien.wirtz@gmail.com>
Sun, 10 Mar 2024 13:19:43 +0000 (14:19 +0100)
package.json
src/components/services/Rtorrent.vue
yarn.lock

index e22553291999be3dd771c8baaf28f809b2cabf12..3092b3d575baa055289531dcb51a3abb8800aa41 100644 (file)
@@ -16,6 +16,7 @@
     "yaml": "^2.4.1"
   },
   "devDependencies": {
+    "@rushstack/eslint-patch": "^1.7.2",
     "@vitejs/plugin-vue": "^5.0.4",
     "@vue/eslint-config-prettier": "^9.0.0",
     "eslint": "^8.57.0",
index 59dd84368c63309aa9e99c68e9ace56534612f2e..337b8cb523e710be5b3b340f7ed6889c3b448183 100644 (file)
@@ -125,9 +125,8 @@ export default {
       const headers = { "Content-Type": "text/xml" };
 
       if (this.item.username && this.item.password) {
-        headers[
-          "Authorization"
-        ] = `${this.item.username}:${this.item.password}`;
+        headers["Authorization"] =
+          `${this.item.username}:${this.item.password}`;
       }
 
       return fetch(`${this.item.xmlrpc.replace(/\/$/, "")}/RPC2`, {
index d6a194da94d62c8d82f6580c6e190b9070aba98d..574662f07b2cc18331ebe9dd7ad0100b7fe5b858 100644 (file)
--- a/yarn.lock
+++ b/yarn.lock
   resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.12.1.tgz#cd8d175e001c212d5ac71c7827ef1d5c5e14494c"
   integrity sha512-n+vkrSyphvmU0qkQ6QBNXCGr2mKjhP08mPRM/Xp5Ck2FV4NrHU+y6axzDeixUrCBHVUS51TZhjqrKBBsHLKb2Q==
 
+"@rushstack/eslint-patch@^1.7.2":
+  version "1.7.2"
+  resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.7.2.tgz#2d4260033e199b3032a08b41348ac10de21c47e9"
+  integrity sha512-RbhOOTCNoCrbfkRyoXODZp75MlpiHMgbE5MEBZAnnnLyQNgrigEj4p0lzsMDyc1zVsJDLrivB58tgg3emX0eEA==
+
 "@surma/rollup-plugin-off-main-thread@^2.2.3":
   version "2.2.3"
   resolved "https://registry.yarnpkg.com/@surma/rollup-plugin-off-main-thread/-/rollup-plugin-off-main-thread-2.2.3.tgz#ee34985952ca21558ab0d952f00298ad2190c053"