Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(config): add more config file name and extension #31

Open
richrdkng opened this issue May 10, 2020 · 0 comments
Open

feat(config): add more config file name and extension #31

richrdkng opened this issue May 10, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@richrdkng
Copy link
Contributor

🚀 Description

For `@nodewell/path to be more usable, multiple config file name and extensions should be added.

💡 Solution

Add support for the following:

  • .pathrc.json
  • .pathsrc.json
  • .pathrc.json5
  • .pathsrc.json5

Also these files can contain JavaScript, JSON, and JSON5 (the content will be automatically detected):

  • .pathrc
  • .pathsrc

Also add a CLI option for custom config files, e.g.: npx @nodewell/path -- --config=paths.js

@richrdkng richrdkng added the enhancement New feature or request label May 10, 2020
@richrdkng richrdkng added this to the 3.0.0 milestone May 10, 2020
@richrdkng richrdkng self-assigned this May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant