Socket
Socket
Sign inDemoInstall

@bristom/commitlint-config

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @bristom/commitlint-config

Bristom commitlint config for commit patterns


Version published
Maintainers
1
Install size
2.80 kB
Created

Readme

Source

@bristom/commitlint-config

The Bristom pattern for git commmit messages using the commitlint tool.

This package is meant to be used with the @commitlint/cli and git hooks. Check the availability for your language.

It was initially wrote to be used with Node.js and Huksy. But since git hooks are available in any git repository for any language, you can use the commitlint CLI with any language (but keep in mind you must have Node.js installed to run the CLI globally).

Commit Structure

The default structure that is meant to be checked with these rules is:

[type]: Subject

optional body

optional footer

With the following requirements:

  1. The type must be in lower-case
  2. The type is obligatory
  3. The type must be wrapped in square brackets (the [] chars)
  4. The subject must be in sentence case (first letter in capital case)
  5. The subject is obligatory

The body and footer are optional and don't have a specific case to be written.

The repo itself implements the rules specified.

Written and maintened by: luk3skyw4lker.

Keywords

FAQs

Last updated on 24 Jul 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc