UNPKG

eslint-plugin-tis-imports

Version:

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

14 lines (13 loc) 472 B
import { ImportDeclaration } from "estree"; import { RestrictImportsOptions, RestrictImportsError } from "./types"; export declare const DEFAULT_ALIAS = "~"; export declare const createRestrictImportsRule: (args: { report: (args: { messageId: RestrictImportsError; node: ImportDeclaration; } & Record<string, any>) => void; filename: string; options: RestrictImportsOptions; }) => { ImportDeclaration(node: ImportDeclaration): void; };