@yiluhub/commitlint-config
Shared commitlint configuration
Last updated 2 years ago by yilu_admin .
MIT · Original npm · Tarball · package.json
$ cnpm install @yiluhub/commitlint-config 
SYNC missed versions from official npm registry.

Commitlint shared configuration

Installs commitlint, husky, lint-stage, cz-conventional-changelog and exports commitlint configuration.

Installation

# cd into your project
cd your-awesome-project

# install the package as a devDependency 
yarn add --dev @yiluhub/commitlint-config

# if you don't have a .commitlintrc copy into your project this file
frontend-shared-packages/templates/.commitlintrc.js

# if you do have already a .commitlintrc, use the following configuration and you can ovveride any rules you want
{
    extends: ['@yiluhub/commitlint-config'],
    rules: {
        ...your rules will override the default ones.
    }
}

# in your package.json make sure you have these configurations
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -e $GIT_PARAMS"
    }
  }

Packages that will be installed in your project

Package Version
@commitlint/cli ^7.1.1
@commitlint/config-angular ^7.1.1
@commitlint/travis-cli ^7.1.1
cz-conventional-changelog ^2.1.0
husky ^1.0.0-rc.13
lint-staged ^7.2.2

Current Tags

  • 1.0.2                                ...           latest (2 years ago)

3 Versions

  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (6)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |