I've just used
npx create-react-app my-app
to start one project and when running npm start
i'm receiving this compiling error
Error while loading rule 'jsx-a11y/alt-text': rule.create is not a function
Occurred while linting my-app/src/index.js
I've just used
npx create-react-app my-app
to start one project and when running npm start
i'm receiving this compiling error
Error while loading rule 'jsx-a11y/alt-text': rule.create is not a function
Occurred while linting my-app/src/index.js
You've probably hit https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/824 where Version 6.5.0 was causing this issue while it was marked as latest on npm. A fix has now been released with version 6.5.1 and it solved the issue for me.