Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shady-links comment false positive #357

Closed
sobregosodd opened this issue May 17, 2024 · 1 comment · Fixed by #358
Closed

shady-links comment false positive #357

sobregosodd opened this issue May 17, 2024 · 1 comment · Fixed by #358

Comments

@sobregosodd
Copy link
Contributor

sobregosodd commented May 17, 2024

import React from 'react';
import './style';
/**
 * react-lazy-load-image-component
 *
 * @link https://cdn.hocgin.top/icons/image.rect.loading.gif
 * @link https://cdn.hocgin.top/icons/image.rect.error.gif
 * @link https://github.com/Aljullu/react-lazy-load-image-component
 * @param className
 * @param shape
 * @param size
 * @param props
 * @constructor
 */
export declare const LazyImage: React.ForwardRefExoticComponent<Omit<LazyImageProps, "ref"> & React.RefAttributes<any>>;
declare type LazyImageProps = {
    className?: string;
    size?: number;
    src?: string;
    shape?: 'square' | 'circle';
    [key: string]: any;
};
export {};

@sobregosodd
Copy link
Contributor Author

the following pattern should fix it

- pattern-not-regex: \/\*(.|\n)*?\*\/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant