Skip to content

Commit

Permalink
chore: конфиг commitzen обновлен из PR про инструменты
Browse files Browse the repository at this point in the history
  • Loading branch information
mxseev committed Nov 23, 2022
1 parent 51e95d9 commit 33c1ae4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 21 deletions.
36 changes: 16 additions & 20 deletions .czrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,35 @@
"path": "cz-conventional-changelog",
"skipQuestions": [
"footer",
"body",
"scope",
"breaking"
],
"allowCustomScopes": true,
"subjectLimit": 72,
"allowCustomScopes": false,
"defaultType": "feat",
"maxHeaderWidth": 100,
"types": {
"feat": {
"description": "feat: Новая функция"
"description": "Новая функция"
},
"fix": {
"description": "fix: Багфикс"
"description": "Исправление ошибки"
},
"refactor": {
"description": "refactor: Изменение структуры кода, не влияющее на поведение"
},
"docs": {
"description": "docs: Только документация"
},
"perf": {
"description": "perf: Оптимизация производительности"
},
"test": {
"description": "test: Добавление тестов"
"description": "Изменение структуры кода, не влияющее на поведение"
},
"chore": {
"description": "chore: Мелкие правки кода, генерация конфигураций, изменение настроек окружения и т.п."
"description": "Мелкие правки кода, генерация конфигураций, изменение настроек окружения и т.п."
},
"docs": {
"description": "Только документация или комментарии"
},
"revert": {
"description": "revert: Откат изменений"
"description": "Откат изменений"
},
"wip": {
"description": "wip: Незавершенная работа"
"description": "Незавершенная работа"
}
},
"scopes": [
{"name": "git"}
]
}
}
2 changes: 1 addition & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module.exports = {
extends: ["@commitlint/config-conventional"],
plugins: ["commitlint-plugin-function-rules"],
rules: {
"type-enum": [2, "always", ["feat", "fix", "docs", "style", "refactor", "test", "revert", "chore", "wip"]]
"type-enum": [2, "always", ["feat", "fix", "docs", "refactor", "revert", "chore", "wip"]]
}
}

0 comments on commit 33c1ae4

Please sign in to comment.