MetaMask / module-lint

Analyzes one or more repos for divergence from a template repo.
1 stars 3 forks source link

Add RepositoryFilesystem #21

Closed mcmire closed 10 months ago

mcmire commented 10 months ago

When linting a project, we need to constantly read the files within either the module template or the project. We want this tool to run as fast as possible, and to do this, we can cache the metadata and content of each file that we read so that we don't have to do it again. This class assists with that.

Related to #5.


See here for context on how a RepositoryFilesystem will eventually be used:

socket-security[bot] commented 10 months ago

New dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@metamask/utils 8.2.0 filesystem +17 4.96 MB metamaskbot
mcmire commented 10 months ago

^ Addressed merge conflicts.