UnusedCall
opt-in rather than opt-out?
#250
a-frantz
started this conversation in
Feature requests
Replies: 1 comment 1 reply
-
If we went this route, would users know on which files to enable this? They wouldn't be getting the diagnostics, so they'd have to determine via some other method to add the directive. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Asking here instead of in Issues because I'm not 100% sure this is the correct solution.
The issue: the
UnusedCall
diagnostic is often a false positive. There are valid/common use cases for calling a task and ignoring it's outputs.Potential solution:
UnusedCall
by default#@ include: UnusedCall
which can only be added to the preamble of files with a workflowworkflows
, we would add this new directive to some of our files. i.e. there would be at least one user of this new syntax and it's us lol~/.config/wdl
file, this can always be toggled on for a usertagging @adthrasher and @peterhuene for thoughts on this?
Beta Was this translation helpful? Give feedback.
All reactions