Skip to content

Commit 08f64f9

Browse files
songhn233AdeAttwood
andcommitted
style(load-config): variable instead of literal
Co-authored-by: Ade Attwood <[email protected]>
1 parent 6d7a1c4 commit 08f64f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

@commitlint/load/src/utils/load-config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export async function loadConfig(
1313
configPath?: string
1414
): Promise<LoadConfigResult | null> {
1515
const moduleName = 'commitlint';
16-
const explorer = cosmiconfig('commitlint', {
16+
const explorer = cosmiconfig(moduleName, {
1717
searchPlaces: [
1818
'package.json',
1919
`.${moduleName}rc`,

0 commit comments

Comments
 (0)