Skip to content

Commit

Permalink
Warn against filename-unfriendly chars in moduleName (#187)
Browse files Browse the repository at this point in the history
Closes #168.
  • Loading branch information
David Clark authored and davidtheclark committed Nov 2, 2019
1 parent 8f4a0f0 commit c531f20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ Type: `string`. **Required.**

Your module name. This is used to create the default [`searchPlaces`] and [`packageProp`].

If your [`searchPlaces`] value will include files, as it does by default (e.g. `${moduleName}rc`), your `moduleName` must consist of characters allowed in filenames. That means you should not copy scoped package names, such as `@my-org/my-package`, directly into `moduleName`.

**[`cosmiconfigOptions`] are documented below.**
You may not need them, and should first read about the functions you'll use.

Expand Down

0 comments on commit c531f20

Please sign in to comment.