Skip to content

Allow relative paths #54

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!

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions