chore: update lint config (#133)
This commit is contained in:
parent
f50f7e737f
commit
0abe0c5c72
|
|
@ -141,7 +141,7 @@
|
|||
"electron-devtools-installer": "3.2.0",
|
||||
"electron-vite": "^2.3.0",
|
||||
"eslint": "^9.6.0",
|
||||
"eslint-config-hyoban": "3.0.0-beta.26",
|
||||
"eslint-config-hyoban": "3.0.0-beta.27",
|
||||
"hono": "4.4.7",
|
||||
"lint-staged": "15.2.7",
|
||||
"postcss": "8.4.38",
|
||||
|
|
|
|||
826
pnpm-lock.yaml
826
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-disable @stylistic/no-tabs */
|
||||
import { cn } from "@renderer/lib/utils"
|
||||
|
||||
export const EmptyIcon: Component = ({ className }) => (
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-disable @eslint-react/dom/no-dangerously-set-innerhtml */
|
||||
import { useUISettingSelector } from "@renderer/atoms/settings/ui"
|
||||
import { cn } from "@renderer/lib/utils"
|
||||
import type { FC } from "react"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-disable @eslint-react/dom/no-dangerously-set-innerhtml */
|
||||
import { cn } from "@renderer/lib/utils"
|
||||
import markdownit from "markdown-it"
|
||||
import { useMemo } from "react"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { useLoginModalShow } from "@renderer/atoms/user"
|
||||
import type { DefinedQuery } from "@renderer/lib/defineQuery"
|
||||
import type {
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ export const initSentry = async () => {
|
|||
}),
|
||||
posthog.sentryIntegration({
|
||||
organization: "follow-rg",
|
||||
// eslint-disable-next-line unicorn/numeric-separators-style
|
||||
projectId: 4507570439979008,
|
||||
severityAllowList: ["error", "info"], // optional: here is set to handle captureMessage (info) and captureException (error)
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import type {
|
||||
InfiniteData,
|
||||
QueryFunction,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { ShikiHighLighter } from "@renderer/components/ui/code-highlighter"
|
||||
import { Image } from "@renderer/components/ui/image"
|
||||
import { LinkWithTooltip } from "@renderer/components/ui/link"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
import type { SettingPageConfig } from "./utils"
|
||||
|
||||
function getSettings() {
|
||||
// eslint-disable-next-line unicorn/prefer-string-raw
|
||||
const map = import.meta.glob("../../pages/settings/\\(settings\\)/*", { eager: true })
|
||||
|
||||
const settings = [] as {
|
||||
|
|
|
|||
Loading…
Reference in New Issue