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

New Rule: Directory Structure #16

Open
Jeehut opened this issue Aug 2, 2018 · 0 comments
Open

New Rule: Directory Structure #16

Jeehut opened this issue Aug 2, 2018 · 0 comments
Labels
rule request A new rule is requested

Comments

@Jeehut
Copy link
Contributor

Jeehut commented Aug 2, 2018

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"
@Jeehut Jeehut added this to the Public Release milestone Aug 2, 2018
@Jeehut Jeehut added enhancement New feature or request rule request A new rule is requested and removed enhancement New feature or request labels Aug 2, 2018
@Jeehut Jeehut removed this from the Public Release milestone Sep 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
rule request A new rule is requested
Projects
None yet
Development

No branches or pull requests

1 participant