chore: lint

This commit is contained in:
Bastien Wirtz 2024-03-10 14:19:43 +01:00
parent f2f03eb3cc
commit 7e8cc22b0c
3 changed files with 8 additions and 3 deletions

View 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",

View 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`, {

View File

@ -1376,6 +1376,11 @@
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"