eslint-plugin-copilot Documentation / _internal/markdown-rule / reportAtDocumentStart
Function: reportAtDocumentStart()
function reportAtDocumentStart<MessageIds>(
context: Readonly<TSESLint.RuleContext<MessageIds, readonly unknown[]>>,
options: Readonly<{
data?: Readonly<Record<string, string>>;
messageId: MessageIds;
}>
): void;
Defined in: _internal/markdown-rule.ts:18
Report a markdown document-level problem at the start of the file.
Type Parametersâ
| Type Parameter |
|---|
MessageIds extends string |
Parametersâ
| Parameter | Type |
|---|---|
context | Readonly<TSESLint.RuleContext<MessageIds, readonly unknown[]>> |
options | Readonly<{ data?: Readonly<Record<string, string>>; messageId: MessageIds; }> |
Returnsâ
void