Skip to content

[salt-lint] Switch tabs to spaces in postfix/files/mapping.j2 #101

Description

@myii

Introducing salt-lint, got a violation triggered here:

{{ key }}{% if colon %}:{% endif %} {{ value|join(", ") }}
{%- else -%}
{{ key }}{% if colon %}:{% endif %} {{ value }}

Examining postfix/files/mapping.j2 of type state
[203] Most files should not contain tabs
postfix/files/mapping.j2:11
{{ key }}{% if colon %}:{% endif %}     {{ value|join(", ") }}

[203] Most files should not contain tabs
postfix/files/mapping.j2:13
{{ key }}{% if colon %}:{% endif %}     {{ value }}

@0xf10e @alxwr Are the tabs absolutely necessary here or can they be changed to spaces?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions