JSPM

@eddlondon/commitlint-config

1.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q21555F
  • License ISC

Package Exports

  • @eddlondon/commitlint-config
  • @eddlondon/commitlint-config/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@eddlondon/commitlint-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

EDD Commitlint Config

Our default export contains rules related to commits by following conventional commits specifications.

Prerequisites

npm install npm@latest -g

npm install --global yarn

Installation

install commitlint

npm install --save-dev @commitlint/{cli,config-conventional}

yarn add @commitlint/{cli,config-conventional} -D

Install husky

npm install husky --save-dev

yarn add husky --dev

activate hooks

npx husky install

yarn husky install

Add hook

npx husky add .husky/commit-msg "npx --no -- commitlint --edit ${1}"

Usage

  • create a file called .commitlintrc.json in root directory of application where .git file is located.
  • paste the following snippet {
      extends: ['@eddlondon'];
    }
    .

Publish

run the following command

npm run push-minor

yarn push-minor