šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

@dwp/commitlint-config-base

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dwp/commitlint-config-base

base configuration for commitlint

4.0.9
latest
Source
npm
Version published
Weekly downloads
2.2K
-11.66%
Maintainers
3
Weekly downloads
Ā 
Created
Source

@dwp/commitlint-config-base

Shareable commitlint config enforcing our commit convention.
Originally based upon the Conventional Commit Message Guidelines and derived from @commitlint/config-conventional.

In addition to the above guidelines, it will prevent committing of messages which could skip CI pipelines.

Use with @commitlint/cli and @commitlint/prompt-cli.

Getting started

npm install --save-dev @dwp/commitlint-config-base @commitlint/cli

Rules

Add a commitlint.config.js file that looks something like:

    module.exports = require( '@dwp/commitlint-config-base' );

You can add your own rules to enhance this, but in doing so please ensure you don't weaken the baseline ruleset.

##Ā Linting

Add commitlint to your test suite like this, or see our package.json for an example of how we do it:

    "test": "commitlint --from=develop --to=HEAD"

Keywords

config

FAQs

Package last updated on 02 Apr 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