metalsmith/createCollectionJson.js
Function plugin
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function plugin(options) {
options = normalize(options);
return function(files, metalsmith, done) {
var processedCollections = metalsmith.metadata().collections;