A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://commitlint.js.org/guides/getting-started below:

Website Navigation


Getting started | commitlint

Getting started Install

Install @commitlint/cli and a @commitlint/config-* / commitlint-config-* of your choice as devDependency and configure commitlint to use it.

npmyarnpnpmbundeno

sh
npm install -D @commitlint/cli @commitlint/config-conventional
sh
yarn add -D @commitlint/cli @commitlint/config-conventional
sh
pnpm add -D @commitlint/cli @commitlint/config-conventional
sh
bun add -d @commitlint/cli @commitlint/config-conventional
sh
deno add -D npm:@commitlint/cli npm:@commitlint/config-conventional
Configuration

Configure commitlint to use conventional config

sh
echo "export default { extends: ['@commitlint/config-conventional'] };" > commitlint.config.js

WARNING

Node v24 changes the way that modules are loaded, and this includes the commitlint config file. If your project does not contain a package.json, commitlint may fail to load the config, resulting in a Please add rules to your commitlint.config.js error message. This can be fixed by doing either of the following:

Refer to configuration documentation for more information.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4