Skip to content

Commit e1f9e7f

Browse files
committed
fix(rules): export the types for external rule references
1 parent 651e8d0 commit e1f9e7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

@commitlint/rules/src/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ const loadRule = (name: string) => {
33
return rule.default || rule;
44
};
55

6+
export * from './types';
7+
68
export default {
79
'body-case': loadRule('body-case'),
810
'body-empty': loadRule('body-empty'),

0 commit comments

Comments
 (0)