- Gitmoji commit convention
- Enforces consistent commit message format
- Compatible with semantic-release
pnpm add -D @lobehub/commitlint-config @commitlint/cliCreate commitlint.config.js (or .commitlintrc.js) in your project root:
import config from '@lobehub/commitlint-config';
export default config;Or for CommonJS:
module.exports = require('@lobehub/commitlint-config').default;:emoji: type(scope): subject
body
footer
:sparkles: feat(auth): add OAuth2 support
Implement OAuth2 authentication flow with Google and GitHub providers.
Closes #123
:bug: fix(api): resolve race condition in data fetching
:memo: docs: update installation guide
With Husky:
pnpm add -D husky
pnpm husky init
echo "pnpm commitlint --edit \$1" > .husky/commit-msg- Node.js >= 18
- @commitlint/cli >= 19.0.0
MIT © LobeHub

