UNPKG

standardlint

Version:
25 lines (22 loc) 548 B
import { exists } from "./chunk-DRBJPZVI.mjs"; import { calculatePass } from "./chunk-I4KWICZI.mjs"; // src/checks/checkForPresenceContributing.ts function checkForPresenceContributing(severity, basePath, filetreePaths) { const path = "CONTRIBUTING.md"; const name = "Contribution information"; const message = "Check for CONTRIBUTING file"; const result = exists(basePath, path, filetreePaths); return { name, status: calculatePass(result, severity), message, path }; } export { checkForPresenceContributing };