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 package.json configuration #235

Closed
zekth opened this issue Jan 28, 2020 · 1 comment · Fixed by #236
Closed

Support package.json configuration #235

zekth opened this issue Jan 28, 2020 · 1 comment · Fixed by #236

Comments

@zekth
Copy link
Contributor

zekth commented Jan 28, 2020

As .madgerc is not well known around IDE, it's not detected as json formatted file. As it uses json formatting, is it thinkable to add the possibility to add madge config in the package.json ?

I can write a PR for this.

Also madge currently use rc ( https://github.com/dominictarr/rc ) so a priority between those configurations has to be determined.

@pahen
Copy link
Owner

pahen commented Jan 28, 2020

Sure, wouldn't hurt to have support for that. I suppose adding madge config in package.json should have precedence over config files found by rc. Feel free to write a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants