Skip to content

Commit

Permalink
Address linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarber623 committed Feb 24, 2024
1 parent 442ee59 commit 53fb07a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions eleventy.config.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
module.exports = function(eleventyConfig) {
// Global Data
eleventyConfig.addGlobalData('app', require('./src/manifest.webmanifest.json'));
eleventyConfig.addGlobalData("app", require("./src/manifest.webmanifest.json"));

// Passthrough File Copy
eleventyConfig
.addPassthroughCopy('./src/_headers')
.addPassthroughCopy('./src/*.{ico,png,svg,txt}')
.addPassthroughCopy('./src/assets')
.addPassthroughCopy("./src/_headers")
.addPassthroughCopy("./src/*.{ico,png,svg,txt}")
.addPassthroughCopy("./src/assets")
.addPassthroughCopy({
'./src/manifest.webmanifest.json': 'manifest.webmanifest'
"./src/manifest.webmanifest.json": "manifest.webmanifest",
});

return {
dir: {
input: './src'
}
input: "./src",
},
};
};
14 changes: 7 additions & 7 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const config = require('@jgarber/eslint-config');
module.exports = (async () => {
const { default: config } = await import("@jgarber/eslint-config");

module.exports = [
{
ignores: ['_site']
},
...config
];
return [
{ ignores: ["_site"] },
...config,
];
})();
2 changes: 1 addition & 1 deletion stylelint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
extends: '@jgarber/stylelint-config'
extends: "@jgarber/stylelint-config",
};

0 comments on commit 53fb07a

Please sign in to comment.