Skip to content

Commit

Permalink
chore(commitlint): added configuration file for commit linting (#16)
Browse files Browse the repository at this point in the history
This file holds the config for commit lint that makes sharing of
commit conventions easy.
  • Loading branch information
mdsanima committed Jan 5, 2024
1 parent ab82d64 commit a83ba02
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .commitlintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2023-2024 MDSANIMA DEV. All rights reserved.
# Licensed under the MIT license.

# This is a configuration file for commit lint that makes sharing of commit conventions easy.
# Documentation: https://commitlint.js.org/


extends: ["@commitlint/config-conventional"]
rules:
type-enum:
- 2
- always
- [build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test]
scope-case:
- 2
- always
- kebab-case
subject-case:
- 2
- never
- [upper-case, pascal-case, sentence-case, start-case]
body-case:
- 2
- always
- sentence-case

0 comments on commit a83ba02

Please sign in to comment.