mirror of
https://github.com/zen-browser/www.git
synced 2025-07-07 08:55:32 +02:00
30 lines
633 B
JavaScript
30 lines
633 B
JavaScript
/**
|
|
* @type {import('@commitlint/types').UserConfig}
|
|
*/
|
|
export default {
|
|
extends: ['@commitlint/config-conventional'],
|
|
rules: {
|
|
// Customize rules as needed
|
|
'type-enum': [
|
|
2,
|
|
'always',
|
|
[
|
|
'build',
|
|
'chore',
|
|
'ci',
|
|
'docs',
|
|
'feat',
|
|
'fix',
|
|
'perf',
|
|
'refactor',
|
|
'revert',
|
|
'style',
|
|
'test',
|
|
],
|
|
],
|
|
'subject-case': [2, 'never', ['pascal-case', 'upper-case']],
|
|
'subject-max-length': [2, 'always', 100],
|
|
'body-max-line-length': [2, 'always', 100],
|
|
'footer-max-line-length': [2, 'always', 100],
|
|
},
|
|
}
|