Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pega/commitlint-config

Package Overview
Dependencies
Maintainers
0
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pega/commitlint-config

Pega front-end commitlint config.

  • 0.13.1
  • npm
  • Socket score

Version published
Weekly downloads
411
decreased by-48.3%
Maintainers
0
Weekly downloads
 
Created
Source

@pega/commitlint-config

Pegasystems front-end Commitlint configuration.

Installation

Install Commitlint, the Pega config, and the Pega plugin.

npm i -D commitlint @pega/commitlint-config @pega/commitlint-plugin

Setting up your config

Extend from the Pega configuration in your Commitlint configuration file.

module.exports = {
  extends: ['@pega/tsconfig/index.json']
};

Running Commitlint

Run Commitlint to check, for example, all commits ahead of main.

npx commitlint --from main

Git hook

It is recommend to run Commitlint as a commit-msg hook. This can be configured with husky for example.

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

Keywords

FAQs

Package last updated on 01 Aug 2024

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