An ESLint rule to require the sizes attribute for Next.js’s <Image> - eviltoast

cross-posted from: https://lemmy.blackeco.com/post/863915

The article mentions Next.js but it also applies to vanilla React as the sizes attribute is useful even outside Next’s <Image> component.