Closed denisdefreyne closed 5 years ago
More use cases:
output_dir: true
# Should error with e.g. “expected output_dir to be a String, not `true`
environments:
production:
# Should error with e.g. “expected environments.production to be a Hash not `nil`
(Depends on #28)
Typos in the configuration file will go unnoticed. It would be useful to verify the structure of the configuration file (
nanoc.yaml
) so that unknown attributes are caught at compile time.