Socket
Socket
Sign inDemoInstall

@mtripg6666tdr/commitlint-config

Package Overview
Dependencies
7
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @mtripg6666tdr/commitlint-config

Sharable `commitlint` config enforcing some rules


Version published
Weekly downloads
11
increased by1000%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Note: this package is mainly for my own use, but it might be useful if you use as needed

@mtripg6666tdr/commitlint-config

Sharable commitlint config enforcing some rules

Getting Started

  1. Install @commitlint/cli
  2. Install @mtripg6666tdr/commitlint-config
  3. Configure commitlint config
  4. Configure git commit hooks if you like

Rules

Here are some rules that this package contains

type-enum

[
  "Chore",  // chore (e.g. buildline, workflow and so on)
  "Change", // change something
  "Improve",// code improvements (e.g. refactoring) without any logic changes
  "Fix",    // fix bugs
  "Update", // update dependencies
  "Feat",   // add new features
  "Perf",   // performance improvements
  "Add",    // add some stuff
  "Docs",   // update documentation
  "Remove", // remove something
  "Rename", // rename something
  "Revert", // revert previous commits
  "Bump",   // bump repository's version
],

ignores

  • If the commit message starts with Merge, skip all rules whatever it is.
  • If the commit message includes [wip] (uppercase or lowercase does not matter), skip all rules whatever it is.

Seeing is believing.
See this for other rules

License

MIT

FAQs

Last updated on 14 Aug 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