specify specific yaml rules in write_list
#4721
Unanswered
simonLeary42
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to disable
yaml[line-length]
while keeping other yaml formatting functionality. Based on this error message, I assume thatwrite_list
takes only rule categories, not specific rules. This is also a bit confusing because the documentation on Autofix has a much smaller list of categories than is shown in this error message.ERROR Found invalid value(s) (yaml[line-length]) for --fix arguments, must be one of: command-instead-of-module, all, unpredictability, loop-var-prefix, meta-incorrect, formatting, core, meta-runtime, meta-video-links, deprecations, syntax, package-latest, pattern, load-failure, jinja, latest, role-name, risky-file-permissions, yaml, key-order, syntax-check, experimental, meta-no-tags, none, args, complexity, name, deprecated-module, unskippable, no-handler, ignore-errors, schema, no-relative-paths, literal-compare, metadata, internal-error, no-changed-when, risk, command-instead-of-shell, no-jinja-when, inline-env-var, deprecated-bare-vars, deprecated-local-action, sanity, galaxy, avoid-implicit, idempotency, risky-octal, var-naming, warning, idiom, parser-error, run-once, no-tabs, playbook-extension, no-free-form, fqcn, risky-shell-pipe, partial-become, command-shell
Beta Was this translation helpful? Give feedback.
All reactions