Skip to content
This repository has been archived by the owner on Sep 19, 2019. It is now read-only.

Add full support for the rules key #6

Open
gemfarmer opened this issue Jan 10, 2017 · 0 comments
Open

Add full support for the rules key #6

gemfarmer opened this issue Jan 10, 2017 · 0 comments
Assignees

Comments

@gemfarmer
Copy link
Contributor

gemfarmer commented Jan 10, 2017

Expected behavior:

We would expect that a configuration like so would check to make sure that items within an array were no-dash and lowercase. Rules would be configured in rules.yml and references in a specific schema.

tags:
  type: Array
  one_of: tags.yml
  rules: [no-dash, lowercase]
  • check for valid date strings
    • check if date is today's date or later
    • if date is provided, ensure that it matches the filename
  • check for valid image path

Actual behavior

It does nothing

@gemfarmer gemfarmer self-assigned this Jan 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant