mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 10:16:44 +00:00
* ci: enforce max-lines suppression ratchet * chore: prune stale max-lines suppression * fix: close max-lines ratchet enforcement gaps * fix: harden max-lines ratchet checks * fix(ci): satisfy max-lines ratchet checks * style: format max-lines declarations * fix(ci): match oxlint suppression grammar * test: isolate max-lines git fixtures * chore: prune resolved max-lines debt * test: skip newline path fixture on Windows * fix: harden max-lines suppression ratchet * chore: refresh max-lines baseline * fix: close max-lines ratchet bypasses * fix: derive ratchet base from PR merge tree * fix: support older Git in staged ratchet * fix: align max-lines declarations and baseline * chore: refresh max-lines baseline for current main * fix: exclude generated wizard locales from max-lines * chore: prune resolved max-lines debt
21 lines
984 B
TypeScript
21 lines
984 B
TypeScript
export function isGovernedSourcePath(filePath: string): boolean;
|
|
export function collectLintDisableDirectives(source: string, filePath?: string): string[][];
|
|
export function isMaxLinesRule(rule: string): boolean;
|
|
export function hasMaxLinesDisable(source: string, filePath?: string): boolean;
|
|
export function hasAllRuleDisable(source: string, filePath?: string): boolean;
|
|
export function parseBaseline(source: string): Set<string>;
|
|
export function diffBaseline(
|
|
current: Iterable<string>,
|
|
baseline: ReadonlySet<string>,
|
|
): { added: string[]; stale: string[] };
|
|
export function findBaselineExpansion(
|
|
current: Iterable<string>,
|
|
base: ReadonlySet<string>,
|
|
): string[];
|
|
export function collectCurrentSuppressions(root?: string, options?: { staged?: boolean }): string[];
|
|
export function collectCurrentSuppressionState(
|
|
root?: string,
|
|
options?: { staged?: boolean },
|
|
): { allRules: string[]; explicit: string[] };
|
|
export function main(root?: string, argv?: string[]): number;
|