Skip to content
This repository was archived by the owner on Mar 10, 2022. It is now read-only.
This repository was archived by the owner on Mar 10, 2022. It is now read-only.

New Rule: File Name Regex #20

@Jeehut

Description

@Jeehut

It should be possible to define for specific folders or specific type extensions, what the file name should be structured like. A config could look something like this:

rules:
  - file_name_regex:
      - directory_content_matching:
          Sources/Extensions: "\A[A-Z]\S+Extension\.swift"
      - directory_content_not_matching:
          Sources/SupportingFiles: "\A.*\.swift\z"
      - type_extension_matching:
          swift: "\A[A-Z]\S+\.swift\z"
          plist: "\A[A-Z]\S+.plist\z"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions