build/metalsmith/plugins/write-algolia-index.js
Function plugin
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function plugin(/* options */) {
return function(files, metalsmith, done) {
const indexes = {
documentation: [],
tutorial: [],