workspace: apply eslint edits

This commit is contained in:
undefined committed 2025-03-21 09:48:17 +08:00
1 parent 040f7d8863
commit 0e7f5fe635
63 files changed
+47 -96

No files matched your search

@@ -1,3 +1,4 @@
/* eslint-disable no-lone-blocks */
import $ from 'jquery';
import _ from 'lodash';
import moment from 'moment';
@@ -208,7 +209,7 @@ export default class Calendar {
const now = moment();
days.forEach((day) => {
day.current = day.date.isSame(now, 'day'); // eslint-disable-line no-param-reassign
day.current = day.date.isSame(now, 'day');
});
const daysByWeek = _.chunk(days, 7);