mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-15 12:13:59 +00:00
feat(build): disable commitlint subject-case rule and add clean-dist script
- Disable subject-case rule in commitlint to allow capital letters in commit subjects - Add clean-dist.js script to preserve UI bundle during TypeScript builds - Update package.json prebuild script to use new clean-dist.js
This commit is contained in:
1 parent
f0309ed8db
commit
5947532fc6
3 files changed
+49
-3
No files matched your search
@@ -17,8 +17,8 @@ module.exports = {
|
||||
'build', // Build system → no release
|
||||
'revert' // Revert commit → PATCH
|
||||
]],
|
||||
// Subject must be lowercase
|
||||
'subject-case': [2, 'always', 'lower-case'],
|
||||
// Subject case - disabled to allow capital letters
|
||||
'subject-case': [0],
|
||||
// Max header length (type + scope + subject)
|
||||
'header-max-length': [2, 'always', 100]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user