Skip to content

@kekkai/blueprint / emitLint

Function: emitLint() ​

emitLint(blueprint, options?): LintConfig

Defined in: src/emit/lint/lint.ts:42

Compile a Blueprint's architecture into an ESLint flat config that enforces the one-way dependency flow, unit-entry boundaries, and package / global ownership. Pure — returns the config array, writes nothing.

Parameters ​

blueprint ​

Blueprint

options? ​

EmitLintOptions = {}

Returns ​

LintConfig

Example ​

ts
// eslint.config.mjs — spread into your own flat config
import { emitLint } from '@kekkai/blueprint';
import blueprint from './blueprint.config.mjs';

export default [...emitLint(blueprint)];