evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
A tool that validates git commit messages against the Conventional Commits specification.
The validator should be exposed as a function that takes a commit message string and returns a validation result object with valid boolean and optional errors array.
/**
* Validates a commit message against Conventional Commits specification.
*
* @param {string} message - The commit message to validate.
* @returns {{valid: boolean, errors?: string[]}} Validation result with valid flag and optional error messages.
*/
function validateCommitMessage(message) {
// IMPLEMENTATION HERE
}
module.exports = {
validateCommitMessage,
};Provides interactive commit message generation and Conventional Commits validation utilities.