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: Directory Structure #16

@Jeehut

Description

@Jeehut

A rule that allows to specify how the files in a directory should be structured and what kind of files are allowed. An example configuration could look something like this:

- rules:
  - directory_structure:
      - App/Sources:
          apply_to_subfolders: true
          allowed_files_regex: ".*\\.swift"
      - App/Sources/Extensions:
          apply_to_subfolders: true
          allowed_files_regex: ".*Extension\\.swift"
      - App/SupportingFiles:
          apply_to_subfolders: true
          disallowed_files_regex: ".*\\.swift"

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