Commitlint config for conventional system extensions for scopes and more
Switch branches/tags
greenkeeper/all-contributors-cli-5.0.0 greenkeeper/all-contributors-cli-5.1.0 greenkeeper/all-contributors-cli-5.2.0 greenkeeper/all-contributors-cli-5.2.1 greenkeeper/all-contributors-cli-5.3.0 greenkeeper/all-contributors-cli-5.4.0 greenkeeper/all-contributors-cli-5.4.1 greenkeeper/babel-eslint-9.0.0 greenkeeper/babel-eslint-10.0.0 greenkeeper/babel-eslint-10.0.1 greenkeeper/commitizen-3.0.0 greenkeeper/commitizen-3.0.1 greenkeeper/commitizen-3.0.2 greenkeeper/commitizen-3.0.3 greenkeeper/commitizen-3.0.4 greenkeeper/commitizen-3.0.5 greenkeeper/@commitlint/cli-7.0.0 greenkeeper/@commitlint/cli-7.1.0 greenkeeper/@commitlint/cli-7.1.1 greenkeeper/@commitlint/cli-7.1.2 greenkeeper/@commitlint/cli-7.2.0 greenkeeper/@commitlint/cli-7.2.1 greenkeeper/@commitlint/config-conventional-7.0.0 greenkeeper/@commitlint/config-conventional-7.0.1 greenkeeper/@commitlint/config-conventional-7.1.0 greenkeeper/@commitlint/config-conventional-7.1.1 greenkeeper/@commitlint/config-conventional-7.1.2 greenkeeper/eslint-5.0.0 greenkeeper/eslint-5.0.1 greenkeeper/eslint-config-airbnb-base-13.0.0 greenkeeper/eslint-config-prettier-3.0.0 greenkeeper/eslint-config-prettier-3.0.1 greenkeeper/eslint-config-prettier-3.1.0 greenkeeper/eslint-config-prettier-3.2.0 greenkeeper/eslint-config-prettier-3.3.0 greenkeeper/eslint-plugin-jest-21.22.1 greenkeeper/eslint-plugin-jest-21.23.0 greenkeeper/eslint-plugin-jest-21.24.0 greenkeeper/eslint-plugin-jest-21.24.1 greenkeeper/eslint-plugin-jest-21.24.2 greenkeeper/eslint-plugin-jest-21.25.0 greenkeeper/eslint-plugin-jest-21.25.1 greenkeeper/eslint-plugin-jest-21.26.0 greenkeeper/eslint-plugin-jest-21.26.1 greenkeeper/eslint-plugin-jest-21.26.2 greenkeeper/eslint-plugin-jest-21.27.0 greenkeeper/eslint-plugin-jest-21.27.1 greenkeeper/eslint-plugin-jest-21.27.2 greenkeeper/eslint-plugin-jest-22.0.0 greenkeeper/eslint-plugin-jest-22.0.1 greenkeeper/eslint-plugin-jest-22.1.0 greenkeeper/eslint-plugin-jest-22.1.1 greenkeeper/eslint-plugin-jest-22.1.2 greenkeeper/eslint-plugin-jest-pin-21.22.0 greenkeeper/eslint-plugin-prettier-2.7.0 greenkeeper/eslint-plugin-prettier-3.0.0 greenkeeper/eslint-plugin-prettier-pin-2.6.2 greenkeeper/husky-1.0.0 greenkeeper/husky-1.0.1 greenkeeper/husky-1.1.0 greenkeeper/husky-1.1.1 greenkeeper/husky-1.1.2 greenkeeper/husky-1.1.3 greenkeeper/husky-1.1.4 greenkeeper/husky-1.2.0 greenkeeper/lint-staged-7.3.0 greenkeeper/lint-staged-8.0.0 greenkeeper/lint-staged-8.0.1 greenkeeper/lint-staged-8.0.2 greenkeeper/lint-staged-8.0.3 greenkeeper/lint-staged-8.0.4 greenkeeper/lint-staged-8.0.5 greenkeeper/lint-staged-8.1.0 greenkeeper/lint-staged-pin-7.2.2 greenkeeper/prettier-1.14.3 greenkeeper/prettier-1.15.0 greenkeeper/prettier-1.15.1 greenkeeper/prettier-1.15.2 greenkeeper/prettier-1.15.3 greenkeeper/prettier-pin-1.14.2 greenkeeper/ramda-0.26.0 greenkeeper/ramda-0.26.1 greenkeeper/semantic-release-15.9.15 greenkeeper/semantic-release-15.9.16 greenkeeper/semantic-release-15.9.17 greenkeeper/semantic-release-15.10.3 greenkeeper/semantic-release-15.10.4 greenkeeper/semantic-release-15.10.5 greenkeeper/semantic-release-15.10.6 greenkeeper/semantic-release-15.10.7 greenkeeper/semantic-release-15.10.8 greenkeeper/semantic-release-15.11.0 greenkeeper/semantic-release-15.12.0 greenkeeper/semantic-release-15.12.1 greenkeeper/semantic-release-15.12.2 greenkeeper/semantic-release-15.12.3 greenkeeper/semantic-release-15.12.4 greenkeeper/semantic-release-pin-15.9.14 master
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
__tests__
examples
.all-contributorsrc
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.travis.yml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE.md
README.md
commitlint.config.js
index.js
package.json
wallaby.config.js
yarn.lock

README.md

commitlint-config-conventional-system

Commitlint config for conventional system extensions for scopes and more

Semantically Released Build Status Code Coverage version downloads Styled with Prettier AirBnB style guide

MIT License All Contributors PRs Welcome Commitizen friendly Code of Conduct

Watch on GitHub Star on GitHub Tweet

commitlint configuration for system and apps with defined scopes, commit types and more. By defining standard components of a system or app and using them as scopes, plus adding a few related to commit types, we ensure consistency across our projects.

These are scopes that should be common in most systems, we call these components:

  • auth: Authentication, login, OAuth, etc.
  • forms: General user input, forms, etc.
  • navigation: Navigation, history and routing.
  • networking": Network-related code, connectivity checks, offline persistence, etc.
  • notifications: Notification code, in-app notifications, push notifications, etc.
  • profile: User profile, friends, followers, etc.
  • settings: Settings and preferences.
  • system: A general catch-all, for changes that impact many areas of the system.

We define 4 scopes you can use if you're interested in highlighted which platform is affected by the changes:

  • core: Shared code.
  • native: Mobile platforms.
  • desktop: Desktop platforms.
  • web: Web platforms.

And finally, we define general scopes that refer to the nature of the change:

  • build
  • deps
  • packaging
  • release

But more importantly, we allow you to customize these. system refers to the above. You can include your packages in the packages section, and you can customize your components, along with descriptions.

Installing / Getting Started

Create a .commitlint-patterns.json at the root of your respository. See examples/commitlint-pattern.json.

Extend your config with this one. In commitlint.config.js:

module.exports = {
  extends: ['config-conventional-system']
}

Prerequisites

  • commitlint

Developing

Built With

  • Ramda

Setting up Dev

Here's a brief intro about what a developer must do in order to start developing the project further:

git clone https://github.com/blackxored/commitlint-config-conventional-system
cd commitlint-config-conventional-system
yarn

And state what happens step-by-step. If there is any virtual environment, local server or database feeder needed, explain here.

Versioning

We use SemVer for versioning. In addition, it's automatic via semantic-release, and our commit convention.

For the versions available, see the Releases on this repository.

Configuration

Here you should write what are all of the configurations a user can enter when using the project.

Tests

yarn test

Style guide

We base our code style on AirBnB's style guide and we check with ESLint and automatically format our code with Prettier.

License

This project is licensed under the MIT License - see the license file for details.

Contributing

If you're interested in contributing to this project in any form, please read our Contribution Guidelines.

Code of Conduct

We've adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

Contributors

Thanks goes to these people (emoji key):


Adrian Perez

💻 📖 🚇 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!