Skip to content

Commit

Permalink
style(load-config): variable instead of literal
Browse files Browse the repository at this point in the history
Co-authored-by: Ade Attwood <[email protected]>
  • Loading branch information
songhn233 and AdeAttwood committed Aug 12, 2021
1 parent 6d7a1c4 commit 08f64f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion @commitlint/load/src/utils/load-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export async function loadConfig(
configPath?: string
): Promise<LoadConfigResult | null> {
const moduleName = 'commitlint';
const explorer = cosmiconfig('commitlint', {
const explorer = cosmiconfig(moduleName, {
searchPlaces: [
'package.json',
`.${moduleName}rc`,
Expand Down

0 comments on commit 08f64f9

Please sign in to comment.