declapract
Version:
A tool to declaratively define best practices, maintainable evolve them, and scalably enforce them.
9 lines (8 loc) • 364 B
TypeScript
/**
* checks whether a file path is within a practice declaration directory
* (best-practice or bad-practices)
*
* why? because applying fixes to practice declaration files would break the
* ability to safely apply practices against best practice declaration repos
*/
export declare const isWithinPracticeDeclarationDirectory: (filePath: string) => boolean;