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

Support multiple names to search config from #157

Open
pi0 opened this issue Jun 11, 2024 · 0 comments
Open

Support multiple names to search config from #157

pi0 opened this issue Jun 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@pi0
Copy link
Member

pi0 commented Jun 11, 2024

          https://github.com/cosmiconfig/cosmiconfig?tab=readme-ov-file#searchplaces

for example, I want to search for these two words

components.json - components-vue.json

const configResult = await c12LoadConfig({
  name: ['components', 'components-vue'],
  configFile: ['components', 'components-vue'],
  cwd,
})

Originally posted by @sadeghbarati in #92 (comment)

@pi0 pi0 added the enhancement New feature or request label Jun 11, 2024
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