chore: make issue references optional and use chore for dependency updates #5
Frontend verify / verify (push) Successful in 4m56s
Frontend verify / verify (push) Successful in 4m56s
This commit is contained in:
@@ -17,11 +17,10 @@ HTTP contract changes дополнительно проходят общий
|
||||
Generated types редактируются через их source; T-Bank доступен только через backend.
|
||||
Frontend dependencies используют exact versions. Pre-commit запускает staged
|
||||
formatting и FSD checks; сообщения commits — Conventional Commits.
|
||||
Заголовок каждого коммита заканчивай номером реальной issue этого репозитория:
|
||||
`<type>[optional scope]: <description> #<issue>`, например
|
||||
`ci: run full frontend verification #1`. Номер бери из текущей задачи;
|
||||
если issue не указана, уточни её перед коммитом. Ссылка в body не заменяет
|
||||
суффикс в заголовке. Формат проверяет `commitlint.config.cjs`.
|
||||
Если у задачи есть связанная issue этого репозитория, добавляй её номер
|
||||
в конец заголовка: `ci: run full frontend verification #1`.
|
||||
Без связанной issue номер необязателен: `chore(deps): update non-major dependencies`.
|
||||
Формат Conventional Commits проверяет `commitlint.config.cjs`.
|
||||
|
||||
Code/style checks автоматические только в scope конфигурации. i18n, props,
|
||||
semantic placement и выбор полезных тестов обязательны при review.
|
||||
|
||||
@@ -1,14 +1,3 @@
|
||||
module.exports = {
|
||||
extends: ["@commitlint/config-conventional"],
|
||||
plugins: [
|
||||
{
|
||||
rules: {
|
||||
"header-issue-suffix": ({ header }) => [
|
||||
/ \S.* #[1-9]\d*$/.test(header ?? ""),
|
||||
"header must end with an issue number, e.g. ci: run verification #1",
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
rules: { "header-issue-suffix": [2, "always"] },
|
||||
};
|
||||
|
||||
+1
-2
@@ -1,11 +1,10 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": ["config:recommended"],
|
||||
"extends": ["config:recommended", ":semanticCommitTypeAll(chore)"],
|
||||
"timezone": "Europe/Moscow",
|
||||
"labels": ["dependencies"],
|
||||
"dependencyDashboard": true,
|
||||
"rangeStrategy": "bump",
|
||||
"commitMessageSuffix": "#5",
|
||||
"packageRules": [
|
||||
{
|
||||
"matchUpdateTypes": ["minor", "patch"],
|
||||
|
||||
Reference in New Issue
Block a user