This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
Replies: 3 comments 5 replies
-
analyze the dependencies of a JavaScript project |
Beta Was this translation helpful? Give feedback.
1 reply
-
build the dependency graph |
Beta Was this translation helpful? Give feedback.
1 reply
-
The dependency graph needs to be used inside the linter somehow. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Some initial thoughts:
Workspace
. Project analysis requires reading files from disk. Currently, thedyn FileSystem
is created and passed to Rome as an argument, but eventually, the file is processed by theWorkspace
without the need for the file system. We have an internal cache where we save the content of a document and its AST. There are few options we can evaluate:FileSystem
to the workspace. This is the best solution, although we need to find a way to make it thread-safe, because theWorkspace
is safe across thread boundaries and can't panic.tsconfig.json
support, which we lack - we need support comments in JSON files, e.g. feat: 🎸 allow comments in json file #4382rome_js_analyze
or we could think about having a new crate.Beta Was this translation helpful? Give feedback.
All reactions