🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@pega/commitlint-config

Package Overview
Dependencies
Maintainers
0
Versions
37
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.16.3
latest
npm
Version published
Maintainers
0
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 20 Feb 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