diff --git a/scripts/lint/ourlint.js b/scripts/lint/ourlint.js index 3463bc7bf..e7dd1a454 100644 --- a/scripts/lint/ourlint.js +++ b/scripts/lint/ourlint.js @@ -103,6 +103,7 @@ const TESTS = { const license = icon.license !== undefined && Object.hasOwn(icon.license, 'url') ? [ + // eslint-disable-next-line no-warning-comments // TODO: `hasOwn` is not currently supported by TS. // See https://github.com/microsoft/TypeScript/issues/44253 /** @type {string} */ diff --git a/svglint.config.mjs b/svglint.config.mjs index 1a11bc114..41103fe13 100644 --- a/svglint.config.mjs +++ b/svglint.config.mjs @@ -520,6 +520,7 @@ const config = { const segments = getIconPathSegments(iconPath); /** @type {import('svg-path-segments').Segment[]} */ + // eslint-disable-next-line no-warning-comments // TODO: svgpath does not includes the `segments` property on the interface, // see https://github.com/fontello/svgpath/pull/67/files // @ts-ignore @@ -870,6 +871,7 @@ const config = { case 'Z': case 'z': { + // eslint-disable-next-line no-warning-comments // TODO: Overlapping in Z should be handled in another rule currentAbsCoord = [startPoint[0], startPoint[1]]; _resetStartPoint = true;