Socket
Socket
Sign inDemoInstall

commitlint-config-travi

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commitlint-config-travi

shareable config for commitlint


Version published
Weekly downloads
2.5K
decreased by-17.06%
Maintainers
1
Weekly downloads
 
Created
Source

shareable config for commitlint

Build Status

Commitizen friendly semantic-release Renovate

Purpose

This is my shareable config for commitlint. My config mostly follows angular commit convention, as implemented in the "soft fork" as @commitlint/config-conventional.

Beyond what is implemented in the @commitlint/config-conventional, I also enable a type of wip for commits that don't fit the default types. This is most often because the does not complete one of default types, but is instead progress toward one.

Usage

license npm

Installation

$ npm install commitlint-config-travi -D

Define the config for your project

$ echo "module.exports = {extends: ['travi']};" > .commitlintrc.js

Define the husky hook

(in a .huskyrc.json, for example)

{
  "hooks": {
    "commit-msg": "commitlint -e"
  }
}

FAQs

Package last updated on 13 Sep 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc