{"library":"branch-name-lint","type":"library","category":null,"description":"A CLI tool to lint and validate Git branch names against configurable rules. Current stable version is 3.0.1, requiring Node.js >=18. It supports prefix whitelisting, separator enforcement, regex patterns, banned/disallowed branch names, and suggestions for common typos. Key differentiators include support for JavaScript config files (for dynamic rules), environment variable override for CI/CD, and the ability to disable prefix or separator checks entirely. Useful for pre-commit hooks (husky) or CI pipelines to enforce branch naming conventions. Last major version (2.0.0) fixed spelling of 'separator' from 'seperator' and made branch names case-sensitive. Release cadence is irregular with maintenance updates.","language":"javascript","status":"active","version":"3.0.1","tags":["javascript","cli-app","cli","branch-name-lint","lint","validate","branch"],"last_verified":"Fri May 01","install":[{"cmd":"npm install branch-name-lint","imports":["import branchNameLint from 'branch-name-lint'","import branchNameLint from 'branch-name-lint'","import type { BranchNameLintConfig } from 'branch-name-lint'"]},{"cmd":"yarn add branch-name-lint","imports":[]},{"cmd":"pnpm add branch-name-lint","imports":[]}],"homepage":null,"github":"https://github.com/barzik/branch-name-lint","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/branch-name-lint","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}