fix: downgrade commitlint strict rules to warnings
- Move commitlint config from package.json to dedicated file - Change subject-case and subject-full-stop rules from errors to warnings - Eliminates red error messages on push while maintaining guidance - Maintains conventional commit standards with non-blocking feedback - Update BUILDING.md with comprehensive changelog entry
This commit is contained in:
9
commitlint.config.js
Normal file
9
commitlint.config.js
Normal file
@@ -0,0 +1,9 @@
|
||||
module.exports = {
|
||||
extends: ['@commitlint/config-conventional'],
|
||||
rules: {
|
||||
// Downgrade strict case rules to warnings (level 1) instead of errors (level 2)
|
||||
// This eliminates red error messages while maintaining helpful guidance
|
||||
'subject-case': [1, 'never', ['sentence-case', 'start-case', 'pascal-case', 'upper-case']],
|
||||
'subject-full-stop': [1, 'never', '.'],
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user