wesaynih / infrastructure

© 2016 The Knights Who Say NIH — Do NOT fork this repository without permission.
http://frameless.io/
Other
0 stars 1 forks source link

Syntax validation for *.yml files #21

Open Robbert opened 8 years ago

Robbert commented 8 years ago

We need to find syntax errors for files that don't adhere to the YAML 1.2 specification.

Robbert commented 8 years ago

I've added a gulp task that loads every YAML file and fails on any parsing errors. The one thing I've seen it successfully report is warning for duplicate keys.

However, when I renamed a .json file to .yml it was parsed without any errors, so I suspect we're not quite done here.

Robbert commented 8 years ago

Indeed we're not done here, the YAML parser should be more strict to prevent failing builds: 737a46ad5ed53bca543586e632a5cc7678e0c74a