-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommitlint.config.js
More file actions
28 lines (28 loc) · 836 Bytes
/
commitlint.config.js
File metadata and controls
28 lines (28 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
* Commitlint configuration for documentation repository
*
* Commit Message Format:
* <type>: <description>
*
* Types:
* - add: Add new documentation
* - update: Update existing documentation
* - remove: Remove documentation
* - fix: Fix typos, formatting, or broken links
* - meta: Changes to the repository itself (CI, scripts, etc)
* - release: Version releases and changelogs
*
* Examples:
* - add: create guide for windsurf setup
* - update: improve clarity of installation steps
* - remove: outdated tutorial section
* - fix: correct typos in README
* - meta: update markdown linting rules
* - release: bump version to v2024.12.4
*/
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [2, 'always', ['add', 'update', 'remove', 'fix', 'meta', 'release']],
},
};