mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 18:41:07 +03:00 
			
		
		
		
	Suppress warnings on TODO comments (#11779)
This commit is contained in:
		
							parent
							
								
									8e7eb8c949
								
							
						
					
					
						commit
						099de86f12
					
				| @ -103,6 +103,7 @@ const TESTS = { | |||||||
|           const license = |           const license = | ||||||
|             icon.license !== undefined && Object.hasOwn(icon.license, 'url') |             icon.license !== undefined && Object.hasOwn(icon.license, 'url') | ||||||
|               ? [ |               ? [ | ||||||
|  |                   // eslint-disable-next-line no-warning-comments
 | ||||||
|                   // TODO: `hasOwn` is not currently supported by TS.
 |                   // TODO: `hasOwn` is not currently supported by TS.
 | ||||||
|                   // See https://github.com/microsoft/TypeScript/issues/44253
 |                   // See https://github.com/microsoft/TypeScript/issues/44253
 | ||||||
|                   /** @type {string} */ |                   /** @type {string} */ | ||||||
|  | |||||||
| @ -520,6 +520,7 @@ const config = { | |||||||
|         const segments = getIconPathSegments(iconPath); |         const segments = getIconPathSegments(iconPath); | ||||||
| 
 | 
 | ||||||
|         /** @type {import('svg-path-segments').Segment[]} */ |         /** @type {import('svg-path-segments').Segment[]} */ | ||||||
|  |         // eslint-disable-next-line no-warning-comments
 | ||||||
|         // TODO: svgpath does not includes the `segments` property on the interface,
 |         // TODO: svgpath does not includes the `segments` property on the interface,
 | ||||||
|         //       see https://github.com/fontello/svgpath/pull/67/files
 |         //       see https://github.com/fontello/svgpath/pull/67/files
 | ||||||
|         // @ts-ignore
 |         // @ts-ignore
 | ||||||
| @ -870,6 +871,7 @@ const config = { | |||||||
| 
 | 
 | ||||||
|               case 'Z': |               case 'Z': | ||||||
|               case 'z': { |               case 'z': { | ||||||
|  |                 // eslint-disable-next-line no-warning-comments
 | ||||||
|                 // TODO: Overlapping in Z should be handled in another rule
 |                 // TODO: Overlapping in Z should be handled in another rule
 | ||||||
|                 currentAbsCoord = [startPoint[0], startPoint[1]]; |                 currentAbsCoord = [startPoint[0], startPoint[1]]; | ||||||
|                 _resetStartPoint = true; |                 _resetStartPoint = true; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user