0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/core/commitlint.config.js
2021-07-25 17:39:57 +08:00

8 lines
216 B
JavaScript

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