Skip to content

invalid operator-enclosed-by-spaces error #169

@ryanmerolle

Description

@ryanmerolle

Current Operation

{% if blah %}commands all default stop-only group tacacs+{% endif %}
j2lint test.j2 --ignore single-statement-per-line
───────────────────────────────────────────────────────────── JINJA2 LINT ERRORS ──────────────────────────────────────────────────────────────
test.j2
└── test.j2:1 The operator + needs to be enclosed by a single space on each side (operator-enclosed-by-spaces)

Jinja2 linting finished with 1 error(s) and 0 warning(s)

How it Should Work

it should only evaluate this rule within Jinja's code blocks.

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