Fix: Unable to navigate from the agent list page to the compilation editing page. (#17460)

This commit is contained in:
balibabu
2026-07-28 13:59:57 +08:00
committed by GitHub
parent 0fdefb284e
commit cc0fbd37ef
42 changed files with 200 additions and 195 deletions

View File

@@ -67,7 +67,7 @@ function InitialContentPlugin({
root.append($createParagraphNode());
}
});
// eslint-disable-next-line react-hooks/exhaustive-deps
// oxlint-disable-next-line react/exhaustive-deps
}, [editor]);
return null;

View File

@@ -32,13 +32,13 @@ export class HorizontalRuleNode extends ElementNode {
return new HorizontalRuleNode(node.__key);
}
/* eslint-disable @typescript-eslint/no-unused-vars */
/* oxlint-disable typescript/no-unused-vars */
static importJSON(
_serializedNode: SerializedHorizontalRuleNode,
): HorizontalRuleNode {
return $createHorizontalRuleNode();
}
/* eslint-enable @typescript-eslint/no-unused-vars */
/* eslint-enable typescript/no-unused-vars */
exportJSON(): SerializedHorizontalRuleNode {
return {
@@ -51,7 +51,7 @@ export class HorizontalRuleNode extends ElementNode {
};
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
// oxlint-disable-next-line typescript/no-unused-vars
createDOM(_config: EditorConfig, _editor: any): HTMLElement {
const element = document.createElement('hr');
return element;

View File

@@ -7,7 +7,7 @@
* - LINK, HR
*/
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-empty-object-type, no-useless-escape */
/* oxlint-disable typescript/no-unused-vars, typescript/no-empty-object-type, no-useless-escape */
import { $createCodeNode, $isCodeNode, CodeNode } from '@lexical/code';
import {

View File

@@ -3,7 +3,7 @@
* Ported from Nimbalyst — supports click-to-edit source code.
*/
/* eslint-disable @typescript-eslint/no-unused-vars */
/* oxlint-disable typescript/no-unused-vars */
import { addClassNamesToElement } from '@lexical/utils';
import type {

View File

@@ -3,7 +3,7 @@
* Ported from Nimbalyst. Creates MermaidNode instead of CodeNode.
*/
/* eslint-disable no-console */
/* oxlint-disable no-console */
import type { MultilineElementTransformer } from '@lexical/markdown';
import {

View File

@@ -2,7 +2,7 @@
* Table transformer for markdown import/export
*/
/* eslint-disable @typescript-eslint/no-unused-vars, no-console, @typescript-eslint/no-use-before-define */
/* oxlint-disable typescript/no-unused-vars, no-console, typescript/no-use-before-define */
import { ElementTransformer } from '@lexical/markdown';
import {