1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

build: add husky and commitlint

This commit is contained in:
2024-03-09 15:05:55 +01:00
parent 2884ec3dd6
commit 86acb390ac
8 changed files with 2218 additions and 79 deletions

24
commitlint.config.js Normal file
View File

@ -0,0 +1,24 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
// TODO Add Scope Enum Here
// 'scope-enum': [2, 'always', ['yourscope', 'yourscope']],
'type-enum': [
2,
'always',
[
'feat',
'fix',
'docs',
'chore',
'style',
'refactor',
'build',
'ci',
'test',
'revert',
'perf'
]
]
}
};