Does anyone know how to disable this in the eslintrc.json file for entire Next.js project?
I have added this, but it does not work:
{ "extends": ["next/core-web-vitals", "prettier"], "rules": { "prefer-const": "error", "indent": ["error", 2], "jsx-a11y/img-has-alt": "off" } }
Try this instead: "jsx-a11y/alt-text": [0], see the docs for more info
"jsx-a11y/alt-text": [0]