aiwg
Version:
Deployment tool and support utility for AI context. Copies agents, skills, commands, rules, and behaviors into the paths each AI platform reads (Claude Code, Codex, Copilot, Cursor, Warp, OpenClaw, and 6 more) so one source of truth works across 10 platfo
27 lines • 928 B
TypeScript
/**
* Lint Rule Loader
*
* Discovers and loads lint rulesets from installed frameworks.
* Each framework ships a `lint/` directory with a `ruleset.yaml`
* and individual rule YAML files.
*
* @issue #810
*/
import type { LintRule, LintRuleset } from './types.js';
/**
* Load a single lint rule from a YAML file
*/
export declare function loadRule(filePath: string): Promise<LintRule>;
/**
* Load a ruleset and all its rules from a framework's lint/ directory
*/
export declare function loadRuleset(lintDir: string, frameworkId: string): Promise<LintRuleset | null>;
/**
* Discover all available rulesets from installed frameworks
*
* Looks in two locations:
* 1. Framework source: agentic/code/frameworks/{id}/lint/
* 2. Deployed frameworks: .aiwg/frameworks/{id}/lint/
*/
export declare function discoverRulesets(cwd: string, frameworkRoot: string): Promise<LintRuleset[]>;
//# sourceMappingURL=loader.d.ts.map