Skip to content

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

Closed

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

  1. Repository owner locked and limited conversation to collaborators on May 23, 2025
  2. converted this issue into a discussion #115 on May 23, 2025
  3. added a commit that references this issue on Jun 30, 2026
    b1c90df
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