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

Create .codacy.yaml to not analyse JSON files #9

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pedrocodacy
Copy link

Hey there @pedrocodacy from the Codacy dev team here 👋

I've noticed through internal monitoring of the product that you have this repo integrated in our product and are getting 45-60 minutes analysis times.
Looking through your configuration, I can see that you have already disabled all code patterns that analyze JSON files, which seems to indicated that you are not interested in analyzing these.
One detail that is relevant for your usage of the product is that Codacy will still run a bunch of background code metrics calculations on JSON to calculate number of lines of code in this case. Given the large amount of JSON files in this repo, this ends up severely hurting your analysis times.

This PR introduces a Codacy configuration file at the root of your repo, ignoring these files.
From tests I did with a forked version of this repo, I got analysis times of commits to drop to under 15 minutes.

Have a nice day 👋 🌻

@pedrocodacy
Copy link
Author

@MaKyOtOx, can I quickly get some attention on this?

It would dramatically improve your experience with our product.

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 this pull request may close these issues.

1 participant