eslint-plugin-tis-imports
Version:
Eslint plugin for precise control of architectural restrictions. FSD, public api, hierarchy of entities in the project.
11 lines (10 loc) • 320 B
TypeScript
export declare const createAllowedFoldersMap: (imports: {
checkingImport: string;
allowedFolders: string[];
}[]) => Map<string, Set<string>>;
export declare const getAllowedFolderInfo: (args: {
filename: string;
allowedFoldersMap: Map<string, Set<string>>;
}) => {
allowedImportsSet: Set<string>;
};