Open schuettc opened 1 year ago
I've seen this issue before and it happened on a repository node_modules
folder with symlink in it.
Assuming that's a nodejs repository you are linting, can you try remove node_modules or any thing similar and lint again?
Tried that with no change. The original repo was created with projen. Any issues there?
Since symlink was the root cause of my issue at the time, I just tied the problem to that. From here I can only think of 2 things to do:
ls -lR /path/to/folder | grep ^l
, ref: linkbtw if you can share your ruleset, that can be helpful.
Noting that you both work at AWS; so perhaps contacting each other internally will allow you to share the rules/codebase in question for better replication.
I was able to track this down to a set of "type": "file-not-contents"
rules. My project was a monorepo with node_modules
and some rust compiled to WASM. Too many files were being scanned.
I avoided this error two different ways:
git clone ~/src/project newproject
It would be nice if anything in the .gitignore
could be excluded from globsAll
option for this rule.
Issue Report
When attempting to run repolinter.js via node, getting this error.
Expected Behavior
repolinter.js should complete
Actual Behavior
repolinter.js failed with the following error:
Steps to Reproduce the Issue
Other notes
Have increased "max-old-space-size" to 16384 by:
With no effect.
Have attempted using node v18.16.0 and v16.19.0
Using M1 Mac.