Merge pull request #117 from cisagov/improvement/update_yamllint_line-length_rules

Update the `line-length` configuration for `yamllint`
pull/529/head^2
Nick 1 year ago committed by GitHub
commit cfa9ba59e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      .yamllint

@ -8,6 +8,15 @@ 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
# Allows a 10% overage from the default limit of 80
max: 88
# 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