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
modules:
- name: [Network.HTTP.Client]message: "Please import OpenTelemetry.Instrumentation.HttpClient instead so that requests may be properly traced."
This rule doesn't do anything. The intention was to ban the import of the module. To make it work, we needed to do within: [].
I think it makes sense to infer a within: [] when it is unspecified. The point of within is that it is a list of modules that are opting-out of the rule, and so we are sort of defaulting a missing within to within: **.* which feels way worse.
The text was updated successfully, but these errors were encountered:
We had an
hlint
rule like this:This rule doesn't do anything. The intention was to ban the import of the module. To make it work, we needed to do
within: []
.I think it makes sense to infer a
within: []
when it is unspecified. The point ofwithin
is that it is a list of modules that are opting-out of the rule, and so we are sort of defaulting a missingwithin
towithin: **.*
which feels way worse.The text was updated successfully, but these errors were encountered: