@next/next/no-img-element
@next/eslint-plugin-next
No autofixRecommended
eslint.config.js
import next from "@next/eslint-plugin-next";
export default [
{
plugins: { "@next/next": next },
rules: {
"@next/next/no-img-element": "error",
},
},
];