Skip to content

Commit 8b0f791

Browse files
committed
fix(config-conventional): use default export
1 parent 16f5949 commit 8b0f791

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

@commitlint/config-conventional/src/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import lint from '@commitlint/lint';
2-
import {config} from '.';
2+
import config from '.';
33

44
const commitLint = async (message) => {
55
const preset = await require(config.parserPreset)();

@commitlint/config-conventional/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
TargetCaseType,
55
} from '@commitlint/types';
66

7-
export const config = {
7+
export = {
88
parserPreset: 'conventional-changelog-conventionalcommits',
99
rules: {
1010
'body-leading-blank': [RuleConfigSeverity.Warning, 'always'] as const,

0 commit comments

Comments
 (0)