Skip to content

MarkbotFile scoping #168

@thomasjbradley

Description

@thomasjbradley

This is a complicated problem that I’m not sure needs to be solved, but would be very helpful, especially for large projects like the pattern libraries.

Some kind of scoped MarkbotFiles where certain requirements can be specified against certain files, but different requirements against different files. It’s possible to do this if you know the names of the files ahead of time, but if the filenames are unknown it isn’t possible.

Here’s my initial thought:

scopes:
  - path: 'patterns/*'
    inherit:
      - html
      - css
    allFiles:
      html:
        outline: false
  
  - path: 'pages/*'
    inherit:
      - html
      - aria-landmarks

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions