diff --git a/web/.oxfmtrc.json b/web/.oxfmtrc.json index c6b4dbd4..c345099e 100644 --- a/web/.oxfmtrc.json +++ b/web/.oxfmtrc.json @@ -1,12 +1,6 @@ { "$schema": "./node_modules/oxfmt/configuration_schema.json", - "experimentalTailwindcss": { - "stylesheet": "./app/app.css", - "attributes": ["class", "className"], - "functions": ["clsx", "cn"], - "preserveWhitespace": true - }, - "ignorePatterns": [], + "ignorePatterns": ["content/**"], "sortImports": { "newlinesBetween": true, "groups": [ @@ -16,5 +10,11 @@ ["value-parent", "value-sibling", "value-index"], "unknown" ] + }, + "sortTailwindcss": { + "stylesheet": "./app/app.css", + "attributes": ["class", "className"], + "functions": ["clsx", "cn"], + "preserveWhitespace": true } } diff --git a/web/.oxlintrc.json b/web/.oxlintrc.json index 3ec834da..54563364 100644 --- a/web/.oxlintrc.json +++ b/web/.oxlintrc.json @@ -1,5 +1,6 @@ { "$schema": "./node_modules/oxlint/configuration_schema.json", + "ignorePatterns": ["vendor/**"], "rules": { "no-unused-vars": [ "warn", diff --git a/web/app/components/memshell/decompiled-code-viewer.tsx b/web/app/components/decompiled-code-viewer.tsx similarity index 100% rename from web/app/components/memshell/decompiled-code-viewer.tsx rename to web/app/components/decompiled-code-viewer.tsx diff --git a/web/app/components/memshell/results/basic-info.tsx b/web/app/components/memshell/results/basic-info.tsx index 4d3ccabf..3f54d3dc 100644 --- a/web/app/components/memshell/results/basic-info.tsx +++ b/web/app/components/memshell/results/basic-info.tsx @@ -23,6 +23,7 @@ import { FeedbackAlert } from "./feedback-alert"; export function BasicInfo({ generateResult }: Readonly<{ generateResult?: MemShellResult }>) { const { t } = useTranslation(["memshell", "common"]); const isDubbo = generateResult?.shellConfig.server === "Dubbo"; + const shellToolConfig = generateResult?.shellToolConfig; return ( @@ -65,13 +66,13 @@ export function BasicInfo({ generateResult }: Readonly<{ generateResult?: MemShe /> )} @@ -79,26 +80,28 @@ export function BasicInfo({ generateResult }: Readonly<{ generateResult?: MemShe <> )} @@ -107,8 +110,8 @@ export function BasicInfo({ generateResult }: Readonly<{ generateResult?: MemShe