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

Add yaml verification — closes #20 #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matthew-andrews
Copy link
Contributor

The problem with this is it effectively forces js-yaml to be a dependency of every single one of our repositories (because we have circle.ymls).

What do you think?

@wheresrhys
Copy link
Contributor

I'd exclude circle.yml.

You could write a hacky yaml verification lite by checking for inconsistent whitespace, which is the most common mistake

@matthew-andrews
Copy link
Contributor Author

Maybe we could use something like this:-
https://github.com/paazmaya/yaml-validator

And then we could have a .yaml.config.js file to look for which would mean projects could opt into it.

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

Successfully merging this pull request may close these issues.

2 participants