Skip to content

Allow relative paths #54

@howardjohn

Description

@howardjohn

Currently, we have a bunch of rules like

        files:
          - "!**/pkg/a/**"
          - "!**/pkg/b/**"

Ideally we could write something like

        files:
          - "!./pkg/a/**"
          - "!./pkg/b/**"

Or

        files:
          - "!$root/pkg/a/**"
          - "!$root/pkg/b/**"

Where this is relative to is up to debate, but probably the module root makes the most sense?

ps: thanks for the great linter!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions