refactor: disable naming-convenction rule (#51685)

This commit is contained in:
Muhammed Mustafa
2023-09-30 16:23:39 +03:00
committed by GitHub
parent bbe1f46d6e
commit 49b728d31b
19 changed files with 4 additions and 79 deletions

View File

@@ -29,7 +29,6 @@ function AvatarRenderer({
if (
// we probably have loads of records in the database with this default avatar URL set. To prevent making a request to the image we know will 404.
!/freecodecamp\.com\/sample-image/.test(picture) &&
// eslint-disable-next-line @typescript-eslint/naming-convention
isURL(picture, { require_protocol: true })
) {
validationImage.src = picture;