declapract
Version:
A tool to declaratively define best practices, maintainable evolve them, and scalably enforce them.
14 lines • 643 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.createExampleFileCheckContext = void 0;
const FileCheckContext_1 = require("../../domain/objects/FileCheckContext");
const createExampleFileCheckContext = () => new FileCheckContext_1.FileCheckContext({
relativeFilePath: 'some/file/path.ts',
projectVariables: {},
projectPractices: [],
declaredFileContents: '__DECLARED_CONTENTS__',
required: true,
getProjectRootDirectory: () => '/some/project/root',
});
exports.createExampleFileCheckContext = createExampleFileCheckContext;
//# sourceMappingURL=createExampleFileCheckContext.js.map