quality / commitlint (push) Skipped
quality / changes (push) Successful in 7s
quality / docker-check (push) Skipped
quality / web (push) Successful in 1m7s
quality / api (push) Successful in 44s
CD / quality (push) Successful in 2m3s
CD / publish (push) Successful in 3m31s
Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
571 B
JavaScript
25 lines
571 B
JavaScript
/** @type {import('@commitlint/types').UserConfig} */
|
|
module.exports = {
|
|
extends: ['@commitlint/config-conventional'],
|
|
plugins: [
|
|
{
|
|
rules: {
|
|
'scope-no-commas': ({ scope }) => {
|
|
if (scope && scope.includes(',')) {
|
|
return [
|
|
false,
|
|
'scope must not contain commas (semantic-release will not parse the commit type)'
|
|
];
|
|
}
|
|
return [true];
|
|
}
|
|
}
|
|
}
|
|
],
|
|
rules: {
|
|
// Subject после «:» на русском — не английский sentence-case.
|
|
'subject-case': [0],
|
|
'scope-no-commas': [2, 'always']
|
|
}
|
|
};
|