Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Latest commit

 

History

History
61 lines (48 loc) · 2.15 KB

README.md

File metadata and controls

61 lines (48 loc) · 2.15 KB

@xerox/commitlint-config Archived: Moved to monorepo xeroxinteractive/config

commitlint shareable config for Xerox projects

circleci status npm package license MIT commit style angular semantic-release Dependabot Status

Usage

  1. Install this config and @commitlint/cli and husky in devDependency:
yarn add @xerox/commitlint-config @commitlint/cli husky --dev
# or
npm install @xerox/commitlint-config @commitlint/cli husky --save-dev
  1. Extend this configuration:
// package.json
{
  // ...
  "commitlint": {
    "extends": [
      "@xerox/commitlint-config"
    ]
  },
  // ...
}
  1. Create a .huskyrc.js file in your project root with the following contents:
module.exports = require('@xerox/commitlint-config/.huskyrc.json');

LICENSE | CHANGELOG | ISSUES