dependency-cruiser
Version:
Validate and visualize dependencies. With your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.
22 lines (19 loc) • 556 B
text/typescript
import type { ICruiseOptions } from "./options.mjs";
import type { IFlattenedRuleSet } from "./rule-set.mjs";
export interface IConfiguration extends IFlattenedRuleSet {
/**
* A (node require resolvable) file path to a dependency-cruiser config
* that serves as the base for this one...
* ... or an array of these
*/
extends?: string | string[];
/**
* Runtime configuration options
*/
options?: ICruiseOptions;
}
// for backwards compatibility:
/**
* @deprecated use IConfiguration instead
*/
export type IRuleSetType = IConfiguration;