Git Product home page Git Product logo

commitlint's Introduction

Lint commit messages

commitlint

npm latest npm next Travis branch AppVeyor branch

  • ๐Ÿš“ Enforce commit conventions
  • ๐Ÿค– Plays nicely with conventional-changelog
  • ๐Ÿ“ฆ Supports shareable configuration

Getting started

npm install --save-dev @commitlint/{angular,cli}
echo "module.exports = {extends: ['@commitlint/config-angular']}" > commitlint.config.js

CLI

  • Primary way to interact with commitlint.
  • npm install --save-dev @commitlint/cli
  • Packages: cli

Config

  • Configuration is picked up from commitlint.config.js files
  • Packages: cli, core
  • See Rules for a complete list of possible rules
  • An example configurations can be found at @commitlint/config-angular

Shared configurations

A number of shared configurations are available to install and use with commitlint:

API

  • Alternative, programatic way to interact with commitlint
  • npm install --save @commitlint/core
  • Packages: core
  • See API for a complete list of methods and examples

Tools

Version Support

  • Node.js LTS version and higher: >= 4
  • git >= 2

Related projects

License

Copyright by @marionebl. All commitlint packages are released under the MIT license.

Development

commitlint is developed in a mono repository.

Getting started

git clone [email protected]:marionebl/commitlint.git
cd commitlint
npm install
npm start # run tests, again on change
npm run build # run build tasks

commitlint's People

Contributors

ellerbrock avatar honzajavorek avatar marionebl avatar scrum avatar whizark avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.