GithubHelp home page GithubHelp logo

seantrane / commitlint-config-awesome Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 1.55 MB

:memo: An awesome variation of @commitlint/config-conventional

Home Page: https://www.npmjs.com/package/commitlint-config-awesome

License: ISC License

JavaScript 100.00%
commitlint-config commit-conventions semantic-release

commitlint-config-awesome's Introduction

commitlint-config-awesome

An awesome variation of @commitlint/config-conventional.


Build StatusdevDependencies Status Commitizen friendly semantic-release

npm latest version npm downloads per week npm total downloads

Table of Contents


About the Package

This package is a commitlint configuration for commit message conventions and enforcement. It's a modified variation of @commitlint/config-conventional, with the following enhancements:

  • Commit message header-length is extended to 80 characters, provoked by lengthy Greenkeeper's commit message subject lines.

Learn more about commitlint configuration.

Install

npm install -D commitlint-config-awesome

Usage

Use the "extends": "awesome" property in your commitlint config, then add any additional configuration as required.

Using package.json file

{
  "commitlint": {
    "extends": ["awesome"]
  }
}

Using .commitlintrc.json file

{
  "extends": ["awesome"]
}

Using .commitlintrc.yml file

extends: [awesome]

Using commitlint.config.js, .commitlintrc.js file

module.exports = {
  extends: ['awesome']
};

Custom Configuration

There are many ways to implement custom configurations. Review the complete list of possible rules to learn more.

You can override the rules immediately following the extends property. See the following examples.

Using JSON

{
  "extends": ["awesome"],
  "rules": {
    "header-max-length": [0, "always", 100]
  }
}

Using YAML

extends: [awesome]
rules:
  header-max-length: [0, 'always', 100]

Using JavaScript

module.exports = {
  extends: ['awesome'],
  rules: {
    'header-max-length': [0, 'always', 100]
  }
};

Forking and publishing your own configuration

Depending on how far down the rabbit role you need to go, you may want to publish your own configuration.

Fork the repo, then perform a few find-replace tasks on all files in your version of the repository:

  1. Find commitlint-config-awesome, replace with commitlint-config-your-config-name
  2. Find awesome, replace with your-config-name
  3. Find seantrane, replace with your-profile
  4. Delete files; rm -Rf CODEOWNERS CONTRIBUTING.md

Support

Submit an issue, in which you should provide as much detail as necessary for your issue.

Contributing

Contributions are always appreciated. Read CONTRIBUTING.md documentation to learn more.

Changelog

Release details are documented in the CHANGELOG.md file, and on the GitHub Releases page.


License

ISC License

Copyright (c) 2018 Sean Trane Sciarrone

commitlint-config-awesome's People

Contributors

dependabot[bot] avatar seantrane avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

commitlint-config-awesome's Issues

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.