First commit
This commit is contained in:
61
commitlint.config.js
Normal file
61
commitlint.config.js
Normal file
@@ -0,0 +1,61 @@
|
||||
module.exports = {
|
||||
extends: ['@commitlint/config-conventional'],
|
||||
rules: {
|
||||
'type-enum': [
|
||||
2,
|
||||
'always',
|
||||
[
|
||||
'build',
|
||||
'chore',
|
||||
'ci',
|
||||
'docs',
|
||||
'feat',
|
||||
'fix',
|
||||
'perf',
|
||||
'refactor',
|
||||
'revert',
|
||||
'style',
|
||||
'test',
|
||||
'security' // Added for security-related changes
|
||||
]
|
||||
],
|
||||
'scope-enum': [
|
||||
2,
|
||||
'always',
|
||||
[
|
||||
// Core SDKs
|
||||
'security',
|
||||
'storage',
|
||||
'sync',
|
||||
'policy',
|
||||
'bff-client',
|
||||
'runtime',
|
||||
'trust',
|
||||
'consent',
|
||||
'analytics',
|
||||
|
||||
// Feature SDKs
|
||||
'auth',
|
||||
'tasks',
|
||||
'messaging',
|
||||
'memberships',
|
||||
'media',
|
||||
'location',
|
||||
'notes',
|
||||
|
||||
// Apps
|
||||
'pro-app',
|
||||
'foundation-app',
|
||||
'playground',
|
||||
|
||||
// Infrastructure
|
||||
'monorepo',
|
||||
'ci',
|
||||
'deps',
|
||||
'release'
|
||||
]
|
||||
],
|
||||
'subject-case': [2, 'never', ['pascal-case', 'upper-case']],
|
||||
'subject-max-length': [2, 'always', 72]
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user