mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
chore(web): ignore eslint warnings (#662)
* enhancement(web): styled scrollbars for listboxes * chore(web): fix eslint warnings * Revert "enhancement(web): styled scrollbars for listboxes" This reverts commit 6b4a28baa6b560044799f31927a3acb88d2b65d6.
This commit is contained in:
parent
27c23df46d
commit
2d2ddb45bd
3 changed files with 5 additions and 4 deletions
|
@ -65,6 +65,9 @@ module.exports = {
|
||||||
"@typescript-eslint/keyword-spacing": ["error"],
|
"@typescript-eslint/keyword-spacing": ["error"],
|
||||||
"object-curly-spacing": "off",
|
"object-curly-spacing": "off",
|
||||||
"@typescript-eslint/object-curly-spacing": ["warn", "always"],
|
"@typescript-eslint/object-curly-spacing": ["warn", "always"],
|
||||||
|
// We have quite some "Unexpected any. Specify a different type" warnings.
|
||||||
|
// This disables these warnings since they are false positives afaict.
|
||||||
|
"@typescript-eslint/no-explicit-any": "off"
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
@ -2,7 +2,6 @@ import { Field, FieldProps } from "formik";
|
||||||
import { classNames } from "../../utils";
|
import { classNames } from "../../utils";
|
||||||
import { EyeIcon, EyeSlashIcon } from "@heroicons/react/24/solid";
|
import { EyeIcon, EyeSlashIcon } from "@heroicons/react/24/solid";
|
||||||
import { useToggle } from "../../hooks/hooks";
|
import { useToggle } from "../../hooks/hooks";
|
||||||
import { log } from "util";
|
|
||||||
|
|
||||||
type COL_WIDTHS = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
type COL_WIDTHS = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
||||||
|
|
||||||
|
@ -228,8 +227,7 @@ export const NumberField = ({
|
||||||
<Field name={name} type="number">
|
<Field name={name} type="number">
|
||||||
{({
|
{({
|
||||||
field,
|
field,
|
||||||
meta,
|
meta
|
||||||
form
|
|
||||||
}: FieldProps) => (
|
}: FieldProps) => (
|
||||||
<div className="sm:col-span-2">
|
<div className="sm:col-span-2">
|
||||||
<input
|
<input
|
||||||
|
|
|
@ -24,7 +24,7 @@ export default function Base() {
|
||||||
{ name: "Filters", path: "/filters" },
|
{ name: "Filters", path: "/filters" },
|
||||||
{ name: "Releases", path: "/releases" },
|
{ name: "Releases", path: "/releases" },
|
||||||
{ name: "Settings", path: "/settings" },
|
{ name: "Settings", path: "/settings" },
|
||||||
{ name: "Logs", path: "/logs" },
|
{ name: "Logs", path: "/logs" }
|
||||||
];
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue