feat: add linting
This commit is contained in:
parent
613ada0063
commit
ad0525dd29
8 changed files with 569 additions and 67 deletions
22
.eleventy.js
22
.eleventy.js
|
@ -1,18 +1,20 @@
|
|||
module.exports = eleventyConfig => {
|
||||
eleventyConfig.addWatchTarget('./src/assets');
|
||||
module.exports = (eleventyConfig) => {
|
||||
eleventyConfig.addWatchTarget("./src/assets");
|
||||
|
||||
// --------------------- Custom Template Languages ---------------------
|
||||
eleventyConfig.addPlugin(require('./config/template-languages/css-config.js'));
|
||||
// --------------------- Custom Template Languages ---------------------
|
||||
eleventyConfig.addPlugin(
|
||||
require("./config/template-languages/css-config.js"),
|
||||
);
|
||||
|
||||
return {
|
||||
// Optional (default is set): If your site deploys to a subdirectory, change `pathPrefix`, for example with with GitHub pages
|
||||
pathPrefix: '/',
|
||||
pathPrefix: "/",
|
||||
|
||||
dir: {
|
||||
output: 'dist',
|
||||
input: 'src',
|
||||
includes: '_includes',
|
||||
layouts: '_layouts'
|
||||
}
|
||||
output: "dist",
|
||||
input: "src",
|
||||
includes: "_includes",
|
||||
layouts: "_layouts",
|
||||
},
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue