read-frog/commitlint.config.cjs
taiiiyang f7f62903b4
refactor: replace @repo to @lib make some packages to private (#708)
* refactor: replace @repo to @lib make some packages to private

* refactor: use @read-frog packages and pnpm link

* fix: use @read-frog/orpc/types

* chore: remove .github ci cd

* feat: add pre-push

* feat: add pre-push

* feat: add commitlint

* feat: add husky

* chore: remove overrides

* chore: resolve confilcts

* chore: remove useless ci

* fix: fix pr-test.yml

* fix: update link config
2025-11-16 12:46:12 +08:00

26 lines
457 B
JavaScript

module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
[
// Default types from conventional commits
'build',
'chore',
'ci',
'docs',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test',
// Custom types from PR template
'i18n',
'ai',
],
],
},
}