Enable the allow-non-breakable-inline-mappings rule for yamllint

pull/529/head^2
Nicholas McDonnell 2 years ago
parent 0867685d1c
commit 21a68f461c
No known key found for this signature in database
GPG Key ID: 7994ADE2A56BE5D1
  1. 8
      .yamllint

@ -8,6 +8,14 @@ rules:
# this behavior.
comments-indentation: disable
# yamllint does not allow inline mappings that exceed the line length by
# default. There are many scenarios where the inline mapping may be a key,
# hash, or other long value that would exceed the line length but cannot
# reasonably be broken across lines.
line-length:
# This rule implies the allow-non-breakable-words rule
allow-non-breakable-inline-mappings: true
# yamllint doesn't like when we use yes and no for true and false,
# but that's pretty standard in Ansible.
truthy: disable

Loading…
Cancel
Save