Skip to content

Commit 6613f51

Browse files
committed
Make transitive reports configurable.
1 parent b18b749 commit 6613f51

File tree

8 files changed

+28
-509
lines changed

8 files changed

+28
-509
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
1313
## master
1414

15+
#### :rocket: New Feature
16+
17+
- Add configuration parameter `"transitive"` under `"reanalyze"`. If set to false, analysis does not report transitively dead items. So removing the item directly reported can be done in isolation https://github.com/rescript-lang/rescript-vscode/pull/601
18+
1519
#### :bug: Bug Fix
1620

1721
- 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

analysis/reanalyze/examples/deadcode/bsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"reanalyze": {
33
"analysis": ["dce"],
44
"suppress": [],
5-
"unsuppress": []
5+
"unsuppress": [],
6+
"transitive": false
67
},
78
"name": "sample-typescript-app",
89
"bsc-flags": ["-bs-super-errors -w a"],

0 commit comments

Comments
 (0)