diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts index 8ce5790dd8..c6a0301871 100644 --- a/cli/tsc/dts/lib.deno.unstable.d.ts +++ b/cli/tsc/dts/lib.deno.unstable.d.ts @@ -1396,7 +1396,21 @@ declare namespace Deno { * @experimental */ export interface RuleContext { + /** + * The running rule id: `/` + */ id: string; + /** + * Name of the file that's currently being linted. + */ + fileName: string; + /** + * Retrieve the source code of the current file. + */ + source(): string; + /** + * Report a lint error. + */ report(data: ReportData): void; }