update frontend lib : eslint + typescript - #1815

This commit is contained in:
Laurent GAY
2025-10-23 11:46:17 +02:00
committed by setop
parent bbf78fa198
commit c3e7f03f54
24 changed files with 1939 additions and 1339 deletions

View File

@@ -811,7 +811,6 @@ const eventOptions = computed({
onMounted(async () => {
observer.value = new IntersectionObserver(
(entries) => {
// eslint-disable-next-line no-restricted-syntax
for (const entry of entries) {
if (entry) {
showFixedNavbar.value = !entry.isIntersecting;
@@ -1344,7 +1343,6 @@ const timezones = computed((): Record<string, string[]> => {
prefix2: string,
suffix2: string
) => {
// eslint-disable-next-line no-param-reassign
(acc2[prefix2] = acc2[prefix2] || []).push(suffix2);
return acc2;
};
@@ -1357,7 +1355,6 @@ const timezones = computed((): Record<string, string[]> => {
);
});
// eslint-disable-next-line class-methods-use-this
const sanitizeTimezone = (timezone: string): string => {
return timezone
.split("_")

View File

@@ -463,7 +463,6 @@ onMounted(async () => {
observer.value = new IntersectionObserver(
(entries) => {
// eslint-disable-next-line no-restricted-syntax
for (const entry of entries) {
if (entry) {
loadComments.value = entry.isIntersecting || loadComments.value;