style: ensure newlines at the end of each file

This commit is contained in:
2026-08-09 13:09:39 +02:00
committed by Gitea
parent f4f8993e87
commit 7ae4fb9a3f
68 changed files with 68 additions and 68 deletions
@@ -523,4 +523,4 @@ test.for([
({ settings: veryNestedSettingsList, path: ['1b', '2b', '3b', '4ba', '5b', '6b', '7a'], expected: undefined })
])('returns $expected', ({ settings, path, expected }) => {
expect(getSettingRecursively(path, settings)).toStrictEqual(expected);
});
});
@@ -60,4 +60,4 @@ describe('settingsPage', () => {
expect(getSettingsPagePathSegments(path)).toStrictEqual(expected);
});
})
})
})
@@ -810,4 +810,4 @@ describe('settingsValidator', () => {
expect(() => assertString(value)).throws(Error);
});
});
});
});
+1 -1
View File
@@ -39,4 +39,4 @@ export const getSettingRecursively = function getSettingRecursively (sectionPath
};
};
return oneSettingsLevel(sectionPath, { content: settings });
};
};
+1 -1
View File
@@ -28,4 +28,4 @@ export const getSettingsPagePathSegments = function getSettingsPagePathSegments
(segment) => segment.replace(/[^a-zA-Z0-9-]/g, '')
)
.filter(Boolean);
};
};
@@ -126,4 +126,4 @@ export function validateSettingsConfig(raw) {
raw.contents.forEach((entry, i) =>
validateFirstLevelSection(entry, `contents[${i}]`)
);
}
}