style: 🔧 use short form of arrow function syntax

This commit is contained in:
Sebin Nyshkim 2024-10-16 02:01:27 +02:00
parent d9c28d07f0
commit 786bec76e9

View file

@ -27,9 +27,7 @@ export default async function (eleventyConfig) {
// eleventyConfig.addPassthroughCopy('./src/img/');
// eleventyConfig.addWatchTarget('./src/img/');
eleventyConfig.addCollection('posts', (collection) => {
return collection.getFilteredByGlob('./src/posts/*.md');
});
eleventyConfig.addCollection('posts', (collection) => collection.getFilteredByGlob('./src/posts/*.md'));
eleventyConfig.addPlugin(IdAttributePlugin);
eleventyConfig.addPlugin(eleventyPluginCiu);