n-makefile icon indicating copy to clipboard operation
n-makefile copied to clipboard

Add yaml verification — closes #20

Open matthew-andrews opened this issue 8 years ago • 2 comments

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?

matthew-andrews avatar Apr 01 '16 19:04 matthew-andrews

I'd exclude circle.yml.

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

wheresrhys avatar Apr 01 '16 20:04 wheresrhys

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.

matthew-andrews avatar Apr 02 '16 06:04 matthew-andrews