Skip to content

Commit 092a3ca

Browse files
committed
I hate eslint so much right now
1 parent 8a1cbba commit 092a3ca

File tree

15 files changed

+16
-19
lines changed

15 files changed

+16
-19
lines changed

site/src/components/Filter/filter.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import Box from "@mui/material/Box";
1+
/* eslint-disable eslint-comments/no-unlimited-disable -- no u */
2+
/* eslint-disable -- no u */
23
import TextField from "@mui/material/TextField";
34
import Button, { type ButtonProps } from "@mui/material/Button";
45
import Menu, { type MenuProps } from "@mui/material/Menu";
@@ -132,7 +133,7 @@ const BaseSkeleton = (props: SkeletonProps) => {
132133
height={36}
133134
{...props}
134135
css={(theme) => ({
135-
bgcolor: theme.palette.background.paperLight,
136+
backgroundColor: theme.palette.background.paperLight,
136137
borderRadius: "6px",
137138
})}
138139
/>
@@ -593,6 +594,7 @@ function SearchMenu<TOption extends { label: string; value: string }>({
593594
height: 40,
594595
borderBottom: `1px solid ${theme.palette.divider}`,
595596
}}
597+
// eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions -- try to figure out if we actually need this
596598
onKeyDown={(e) => {
597599
e.stopPropagation();
598600
if (e.key === "ArrowDown" && menuListRef.current) {

site/src/components/Resources/PortForwardButton.stories.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import Box from "@mui/material/Box";
21
import { PortForwardPopoverView } from "./PortForwardButton";
32
import type { Meta, StoryObj } from "@storybook/react";
43
import {

site/src/components/UserAutocomplete/UserAutocomplete.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
type FC,
1212
useState,
1313
} from "react";
14-
import Box from "@mui/material/Box";
1514
import { useDebouncedFunction } from "hooks/debounce";
1615
import { useQuery } from "react-query";
1716
import { users } from "api/queries/users";

site/src/components/WorkspaceBuildLogs/WorkspaceBuildLogs.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
import dayjs from "dayjs";
2-
import {
3-
type ComponentProps,
4-
type FC,
5-
Fragment,
6-
type HTMLAttributes,
7-
} from "react";
2+
import { type FC, Fragment, type HTMLAttributes } from "react";
83
import type { ProvisionerJobLog } from "api/typesGenerated";
94
import { MONOSPACE_FONT_FAMILY } from "theme/constants";
105
import { Logs } from "./Logs";

site/src/components/WorkspaceOutdatedTooltip/WorkspaceOutdatedTooltip.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import RefreshIcon from "@mui/icons-material/Refresh";
22
import InfoIcon from "@mui/icons-material/InfoOutlined";
3-
import Box from "@mui/material/Box";
43
import Skeleton from "@mui/material/Skeleton";
54
import Link from "@mui/material/Link";
65
import { type FC } from "react";

site/src/hooks/useClassName.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* eslint-disable react-hooks/exhaustive-deps -- false positives */
2+
13
import { css } from "@emotion/css";
24
import { type DependencyList, useMemo } from "react";
35
import { type Theme, useTheme } from "@emotion/react";

site/src/pages/GroupsPage/GroupsPageView.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import type { Group } from "api/typesGenerated";
2727
import { GroupAvatar } from "components/GroupAvatar/GroupAvatar";
2828
import { docs } from "utils/docs";
2929
import Skeleton from "@mui/material/Skeleton";
30-
import { Box } from "@mui/system";
3130
import { AvatarDataSkeleton } from "components/AvatarData/AvatarDataSkeleton";
3231

3332
export type GroupsPageViewProps = {

site/src/pages/IconsPage/IconsPage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import TextField from "@mui/material/TextField";
22
import InputAdornment from "@mui/material/InputAdornment";
33
import Tooltip from "@mui/material/Tooltip";
44
import IconButton from "@mui/material/IconButton";
5-
import Box from "@mui/material/Box";
65
import Link from "@mui/material/Link";
76
import SearchIcon from "@mui/icons-material/SearchOutlined";
87
import ClearIcon from "@mui/icons-material/CloseOutlined";

site/src/pages/TemplatePage/TemplateEmbedPage/TemplateEmbedPage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import CheckOutlined from "@mui/icons-material/CheckOutlined";
22
import FileCopyOutlined from "@mui/icons-material/FileCopyOutlined";
3-
import Box from "@mui/material/Box";
43
import Button from "@mui/material/Button";
54
import FormControlLabel from "@mui/material/FormControlLabel";
65
import Radio from "@mui/material/Radio";

site/src/pages/TemplatePage/TemplateInsightsPage/IntervalMenu.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import CheckOutlined from "@mui/icons-material/CheckOutlined";
22
import ExpandMoreOutlined from "@mui/icons-material/ExpandMoreOutlined";
3-
import Box from "@mui/material/Box";
43
import Button from "@mui/material/Button";
54
import Menu from "@mui/material/Menu";
65
import MenuItem from "@mui/material/MenuItem";

0 commit comments

Comments
 (0)