You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add config for reporting transitively dead things. (#601)
* Add config for reporting transitively dead things.
This is the normal behaviour: no change.
When turned off, only the top dead things, and not the transitive ones, are reported.
* Turn off the flag for reporting transitive dead things.
* Comment.
* Do not report empty modules when transitive reporting is off.
As the only way for a module to be dead would be for it to be empty.
* Make transitive reports configurable.
* Restore default behaviour in tests.
* comment
* Update CHANGELOG.md
Copy file name to clipboardexpand all lines: CHANGELOG.md
+5
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,11 @@
12
12
13
13
## master
14
14
15
+
#### :rocket: New Feature
16
+
17
+
- Add configuration parameter `"transitive"` under `"reanalyze"` is `bsconfig.json`. If set to `false`, the analysis does not report transitively dead items. So removing the reported item individually can be done in isolation. This is a more fine-grained process for guiding the user to remove dead code one item at a time. https://github.com/rescript-lang/rescript-vscode/pull/601
18
+
This feature comes from a conversation with @jfmengels on how https://github.com/jfmengels/elm-review is designed.
19
+
15
20
#### :bug: Bug Fix
16
21
17
22
- Fix issue where module paths in `-open` in `bsc-flags` such as "-open ReScriptJs.Js" were not recognized https://github.com/rescript-lang/rescript-vscode/issues/607
0 commit comments