The default reporter used is vfile-reporter
.
eleventyConfig.addPlugin(EleventyUnifiedPlugin, {
textTransforms: ["retext-repeated-words"],
});
npm install eleventy-plugin-unified retext-repeated-words vfile-reporter
eleventyConfig.addPlugin(EleventyUnifiedPlugin, {
reporter: "vfile-reporter-json",
textTransforms: ["retext-repeated-words"],
});
or
eleventyConfig.addPlugin(EleventyUnifiedPlugin, {
reporter: (file) => {
console.log(file);
},
textTransforms: ["retext-repeated-words"],
});
npm install eleventy-plugin-unified retext-latin
eleventyConfig.addPlugin(EleventyUnifiedPlugin, {
reporter: false,
textTransforms: ["retext-repeated-words"],
});
npm install eleventy-plugin-unified retext-latin
eleventyConfig.addPlugin(EleventyUnifiedPlugin, {
textParser: "retext-latin",
});