mirror of
https://github.com/cstaelen/tidarr.git
synced 2026-10-19 01:30:57 -05:00
fix eslint 10
This commit is contained in:
1 parent
f93c49dd01
commit
36a81a2f5c
5 files changed
+9
-4
No files matched your search
@@ -71,6 +71,6 @@ export function regenerateApiKey(): string {
|
||||
return newApiKey;
|
||||
} catch (error) {
|
||||
console.error("[API Key] Error writing new API key:", error);
|
||||
throw new Error("Failed to regenerate API key");
|
||||
throw new Error("Failed to regenerate API key", { cause: error });
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
|
||||
|
||||
/* Language and Environment */
|
||||
"target": "es2021", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
||||
"target": "es2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
||||
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
||||
// "jsx": "preserve", /* Specify what JSX code is generated. */
|
||||
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
|
||||
|
||||
@@ -21,8 +21,7 @@ export const ProcessingButton = () => {
|
||||
? processingList?.filter((item) => item?.status === "error")?.length > 0
|
||||
: false;
|
||||
|
||||
let buttonColor: "primary" | "error" | "warning" | "success" | "inherit" =
|
||||
"primary";
|
||||
let buttonColor: "primary" | "error" | "warning" | "success" | "inherit";
|
||||
switch (true) {
|
||||
case isPaused:
|
||||
buttonColor = "warning";
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
"concurrently": "^9.2.1",
|
||||
"eslint": "^10.0.0",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"globals": "^17.3.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.10.2",
|
||||
"eslint-plugin-prettier": "^5.5.5",
|
||||
"eslint-plugin-react-hooks": "^7.0.1",
|
||||
|
||||
@@ -2607,6 +2607,11 @@ glob@^10.0.0:
|
||||
package-json-from-dist "^1.0.0"
|
||||
path-scurry "^1.11.1"
|
||||
|
||||
globals@^17.3.0:
|
||||
version "17.3.0"
|
||||
resolved "https://registry.yarnpkg.com/globals/-/globals-17.3.0.tgz#8b96544c2fa91afada02747cc9731c002a96f3b9"
|
||||
integrity sha512-yMqGUQVVCkD4tqjOJf3TnrvaaHDMYp4VlUSObbkIiuCPe/ofdMBFIAcBbCSRFWOnos6qRiTVStDwqPLUclaxIw==
|
||||
|
||||
globalthis@^1.0.4:
|
||||
version "1.0.4"
|
||||
resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz"
|
||||
|
||||
Reference in new issue
Block a user