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
Many ruleset users wrap the upstream rules with a macro that sets defaults, enforces policies, or creates an additional rule.
Gazelle can generate rules with a load statement that ensures the macro is used rather than directly loading the external rule, using the map_kind directive.
However, these users still need a way to prevent their developers accidentally loading symbols from a starlark module they forbid.
For example I'd want to configure buildifier to detect
Many ruleset users wrap the upstream rules with a macro that sets defaults, enforces policies, or creates an additional rule.
Gazelle can generate rules with a
load
statement that ensures the macro is used rather than directly loading the external rule, using themap_kind
directive.However, these users still need a way to prevent their developers accidentally loading symbols from a starlark module they forbid.
For example I'd want to configure buildifier to detect
and print the suggestion of using a macro instead like
The text was updated successfully, but these errors were encountered: