From 2c1059f714e8c55e9ee262b510951de8f5c002e3 Mon Sep 17 00:00:00 2001 From: Bernhard Pottler Date: Mon, 6 Jun 2022 06:30:03 +0200 Subject: [PATCH] fix: error reported by eslint (line-length) --- src/plugin/customParseFormat/utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugin/customParseFormat/utils.js b/src/plugin/customParseFormat/utils.js index cace43ff3..a71b401fd 100644 --- a/src/plugin/customParseFormat/utils.js +++ b/src/plugin/customParseFormat/utils.js @@ -3,7 +3,8 @@ function modMonth(n, x) { return ((n % x) + x) % x } -// code duplication as we cannot use 'isLeapYear' plugin here (it is only working with Dayjs objects) +// code duplication as we cannot use 'isLeapYear' plugin here; +// 'isLeapYear' is only working with Dayjs objects function isLeapYear(year) { return ((year % 4 === 0) && (year % 100 !== 0)) || (year % 400 === 0) }