UNPKG

eslint-plugin-tis-imports

Version:

Eslint plugin for precise control of architectural restrictions. FSD, public api, hierarchy of entities in the project.

16 lines (15 loc) 577 B
import { ImportDeclaration } from "estree"; import { LayerImportError, LayerImportsRuleOptions } from "./types"; export declare const DEFAULT_LAYERS: string[]; export declare const DEFAULT_CHECK_RELATIVE_PATH_LAYERS: string[]; export declare const DEFAULT_ALIAS = "~"; export declare const createLayerImportsRule: (args: { report: (args: { messageId: LayerImportError; node: ImportDeclaration; } & Record<string, any>) => void; filename: string; options: LayerImportsRuleOptions; }) => { ImportDeclaration(node: ImportDeclaration): void; };