mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-12-16 01:10:30 +02:00
Suppress warnings on TODO comments (#11779)
This commit is contained in:
parent
8e7eb8c949
commit
099de86f12
@ -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} */
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user