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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Allowing rules to be scoped to specific Ansible module types allows for more granular control over the linting process.
Prime example for me is:
Which results in:
Now both disabling
skip_list: - name[missing]
and# noqa name[missing]
are not suitable for me. The granularity is either way too big, or too small.How about an intermediary scope feature for the
.ansible-lint
config:Module-type scoped rules would take precedence over globally scoped rules obviously, but would still be superseded by
# noqa
Related:
#364
#2111
#773
Beta Was this translation helpful? Give feedback.
All reactions