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.
|
Generated types редактируются через их source; T-Bank доступен только через backend.
|
||||||
Frontend dependencies используют exact versions. Pre-commit запускает staged
|
Frontend dependencies используют exact versions. Pre-commit запускает staged
|
||||||
formatting и FSD checks; сообщения commits — Conventional Commits.
|
formatting и FSD checks; сообщения commits — Conventional Commits.
|
||||||
Заголовок каждого коммита заканчивай номером реальной issue этого репозитория:
|
Если у задачи есть связанная issue этого репозитория, добавляй её номер
|
||||||
`<type>[optional scope]: <description> #<issue>`, например
|
в конец заголовка: `ci: run full frontend verification #1`.
|
||||||
`ci: run full frontend verification #1`. Номер бери из текущей задачи;
|
Без связанной issue номер необязателен: `chore(deps): update non-major dependencies`.
|
||||||
если issue не указана, уточни её перед коммитом. Ссылка в body не заменяет
|
Формат Conventional Commits проверяет `commitlint.config.cjs`.
|
||||||
суффикс в заголовке. Формат проверяет `commitlint.config.cjs`.
|
|
||||||
|
|
||||||
Code/style checks автоматические только в scope конфигурации. i18n, props,
|
Code/style checks автоматические только в scope конфигурации. i18n, props,
|
||||||
semantic placement и выбор полезных тестов обязательны при review.
|
semantic placement и выбор полезных тестов обязательны при review.
|
||||||
|
|||||||
@@ -1,14 +1,3 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ["@commitlint/config-conventional"],
|
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",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": ["config:recommended"],
|
"extends": ["config:recommended", ":semanticCommitTypeAll(chore)"],
|
||||||
"timezone": "Europe/Moscow",
|
"timezone": "Europe/Moscow",
|
||||||
"labels": ["dependencies"],
|
"labels": ["dependencies"],
|
||||||
"dependencyDashboard": true,
|
"dependencyDashboard": true,
|
||||||
"rangeStrategy": "bump",
|
"rangeStrategy": "bump",
|
||||||
"commitMessageSuffix": "#5",
|
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"matchUpdateTypes": ["minor", "patch"],
|
"matchUpdateTypes": ["minor", "patch"],
|
||||||
|
|||||||
Reference in New Issue
Block a user