We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb8c454 commit 6f727b6Copy full SHA for 6f727b6
client/eslint.config.js
@@ -23,6 +23,10 @@ export default tseslint.config(
23
"warn",
24
{ allowConstantExport: true },
25
],
26
+ "@typescript-eslint/no-unused-vars": [
27
+ "error",
28
+ { argsIgnorePattern: "^_" },
29
+ ],
30
},
31
32
);
client/src/components/CustomHeaders.tsx
@@ -90,7 +90,7 @@ const CustomHeaders = ({
90
onChange(newHeaders);
91
setJsonError(null);
92
setIsJsonMode(false);
93
- } catch (error) {
+ } catch {
94
setJsonError("Invalid JSON format");
95
}
96
};
0 commit comments