Ser*_*aro 5 javascript lint reactjs eslint
我刚刚用来
npx create-react-app my-app
启动一个项目,运行时npm start
我收到此编译错误
Error while loading rule 'jsx-a11y/alt-text': rule.create is not a function
Occurred while linting my-app/src/index.js
Run Code Online (Sandbox Code Playgroud)
小智 3
您可能已经访问过https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/824,其中版本 6.5.0 导致了此问题,而它在 npm 上被标记为最新版本。版本 6.5.1 现已发布修复程序,它解决了我的问题。
| 归档时间: |
|
| 查看次数: |
1042 次 |
| 最近记录: |