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:
martylukyy 2023-01-28 17:04:30 +01:00 committed by GitHub
parent 27c23df46d
commit 2d2ddb45bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View file

@ -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"
}, },
}, },
], ],

View file

@ -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

View file

@ -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 (