Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | // Framework — check definition API
export { defineCheck } from './framework/define-check.js';
export { CheckRegistry, defaultRegistry } from './framework/registry.js';
// Framework types — the real check API types
export type { CheckViolation, CheckScope, FileAccessor, CheckCategory, CheckConcern, CheckLanguage } from './framework/check-config.js';
export type { Check, CheckConfig, ResolvedScope } from './framework/check-types.js';
export { isCheck } from './framework/check-types.js';
export type { ExecutionContext, RunOptions } from './framework/execution-context.js';
// Framework utilities used by checks
export { getLineNumber, extractSnippet, isAPIFile } from './framework/result-builder.js';
export {
parseSource, walkNodes,
getLineNumber as getASTLineNumber,
getIdentifierName, getPropertyChain,
isInStringLiteral,
isLiteral, isPropertyAccess,
} from './framework/ast-utilities.js';
export { execAbortable } from './framework/abortable-exec.js';
export { isInsideStringLiteral } from './framework/strip-literals.js';
// Re-export TypeScript compiler API for AST-based checks
import * as _ts from 'typescript';
export { _ts as ts };
// Types — findings output
export type { Finding, Severity, FindingSeverity, ToolOutput, CheckResult, CheckInfo, CheckResultMetadata, ItemType } from './types/findings.js';
export { createResultWithSignals, createErrorResult, createPassingResult, CheckInfoFactory } from './types/findings.js';
// Types — internal signal (framework use)
export type { Signal, SignalSeverity, SignalCategory, CreateSignalInput } from './types/signal.js';
export { createSignal } from './types/signal.js';
// Lib
export { ToolError, ValidationError, NotFoundError, SystemError, TimeoutError } from './lib/errors.js';
export { logger, setLogLevel, setSilent } from './lib/logger.js';
export { generateId } from './lib/ids.js';
|