1. @commitlint/parse
Lint your commit messages
@commitlint/parse
Package: @commitlint/parse
Created by: conventional-changelog
Last modified: Wed, 28 Feb 2024 12:02:38 GMT
Version: 19.0.3
License: MIT
Downloads: 10,643,168
Repository: https://github.com/conventional-changelog/commitlint

Install

npm install @commitlint/parse
yarn add @commitlint/parse

Parse commit messages to structured data

@commitlint/parse

Install

npm install --save @commitlint/parse

Use

 const parse = require('@commitlint/parse');

API

parse(message: string, parser: Function, parserOpts: Object)

  • message: Commit message to parser
  • parser: Sync parser function to use. Defaults to sync of conventional-commits-parser
  • parserOpts: Options to pass to parser
    {
      commentChar: null, // character indicating comment lines
      issuePrefixes: ['#'] // prefix characters for issue references
    }
    

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code