You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@pega/commitlint-config

Package Overview
Dependencies
Maintainers
3
Versions
38
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.17.0
latest
npmnpm
Version published
Weekly downloads
662
-37.96%
Maintainers
3
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

commitlint

FAQs

Package last updated on 10 Jul 2025

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