Skip to content

Support .yml extension in addition to .yaml #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
EvanLovely opened this issue May 13, 2016 · 1 comment
Closed

Support .yml extension in addition to .yaml #25

EvanLovely opened this issue May 13, 2016 · 1 comment
Assignees

Comments

@EvanLovely
Copy link
Member

It's great that data files can take the form of pattern.yaml, but many people use it as pattern.yml – even Pattern Lab's own config/config.yml! This can be a subtle difference and could easily add some confusion for users.

@dmolsen
Copy link
Member

dmolsen commented May 14, 2016

Easy enough to fix. References in pattern rules should be json||yaml||yml instead of json||yaml. See PatternInfoRule.php as an example. I'll get to this late next week unless you get to this first. Finishing up #14 is my priority at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants