1
0
Fork 0
mirror of https://github.com/cisagov/log4j-affected-db.git synced 2024-07-26 17:47:56 +00:00

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

Update the `line-length` configuration for `yamllint`
This commit is contained in:
Nick 2022-11-08 15:14:24 -05:00 committed by GitHub
commit cfa9ba59e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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