0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00
logto/commitlint.config.js
Gao Sun 30218579cc
ci: update publish workflow (#1358)
* chore: set lerna changelogPreset

* fix: version script

* ci: update publish workflow
2022-07-01 22:39:21 +08:00

9 lines
282 B
JavaScript

const { rules } = require('@commitlint/config-conventional');
/** @type {import('@commitlint/types').UserConfig} **/
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [2, 'always', [...rules['type-enum'][2], 'api', 'release']],
},
};