Fix linting errors

This commit is contained in:
Will Boyd
2025-01-16 10:08:09 -05:00
parent 90f912e25a
commit c94ec8bb81
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
{
"env": {
"browser": true,
"commonjs": true,
"es6": true
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"globals": {
+1 -1
View File
@@ -176,7 +176,7 @@ function populateFrontmatter(posts) {
posts.forEach(post => {
const frontmatter = {};
settings.frontmatter_fields.forEach(field => {
[key, alias] = field.split(':');
const [key, alias] = field.split(':');
let frontmatterGetter = frontmatterGetters[key];
if (!frontmatterGetter) {