Skip to content

Commit 33c8035

Browse files
committed
Fix linting
1 parent 66b530d commit 33c8035

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

webview-ui/.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"eslint.validate": ["javascript", "typescript"],
1717
"editor.formatOnSave": true,
1818
"editor.codeActionsOnSave": {
19-
"source.fixAll.eslint": true
19+
"source.fixAll.eslint": "always"
2020
},
2121
"[typescript]": {
2222
"editor.formatOnSave": false

webview-ui/src/components/Mermaid/Mermaid.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function Mermaid({
2020
}: {
2121
chart: string;
2222
mermaidRef?: React.MutableRefObject<MermaidAPI | undefined>;
23-
theme: string;
23+
theme: 'default' | 'base' | 'dark' | 'forest' | 'neutral' | 'null';
2424
}) {
2525
const zoomRef = useRef<d3.ZoomBehavior<Element, unknown>>();
2626
const svgRef = useRef<d3.Selection<d3.BaseType, unknown, HTMLElement, any>>();

0 commit comments

Comments
 (0)