feat: new commit instructions

This commit is contained in:
dextmorgn
2025-10-29 08:31:41 +01:00
parent 639dbfec36
commit 56586e3bf4
13 changed files with 11194 additions and 28 deletions

24
commitlint.config.js Normal file
View File

@@ -0,0 +1,24 @@
export default {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
[
'feat', // New feature
'fix', // Bug fix
'docs', // Documentation only changes
'style', // Code style changes (formatting, etc)
'refactor', // Code refactoring
'perf', // Performance improvements
'test', // Adding or updating tests
'build', // Build system or dependencies
'ci', // CI/CD changes
'chore', // Other changes that don't modify src
'revert', // Revert previous commit
],
],
'scope-case': [2, 'always', 'kebab-case'],
'subject-case': [0], // Allow any case for subject
},
};