Skip to content

馃悰 Linting rule should not trigger multiple times for the same line#114

Description

@mroy-seedbox

Bug Description

Sometimes a rule can capture the same match multiple times.

Expected Behavior

That should be counted as just one match.

Version

3.3.1

Stack trace

Image

Steps to Reproduce

- name: Jinja expressions should have a leading and trailing space
  pattern: '([{][{][^ ])|([^ ][}][}])'
  hint: "Add spaces before and after the curly braces: {{ code here }}"

And lint: {{"hello world"}}

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions