eslint-plugin-tis-imports
Version:
Eslint plugin for precise control of architectural restrictions. FSD, public api, hierarchy of entities in the project.
13 lines (12 loc) • 336 B
TypeScript
export declare const checkAbsolutePath: (args: {
alias: string;
path: string;
}) => boolean;
export declare const checkRelativePath: (args: {
path: string;
}) => boolean;
export declare const normalizeFilePathFromImport: (args: {
importPath?: string;
alias: string;
currentFilePath: string;
}) => string | null;