When we build the PCF project and receive below warning
Error:
Warning: React version not specified in eslint-plugin-react settings. See https://github.com/jsx-eslint/eslint-plugin-react#configuration .
[4:47:40 PM] [start] Compiling and bundling control...
Solution : Open the ".eslintrc.json" and add below configuration
"settings": {
"react": {
"version": "detect"
}
}
No comments:
Post a Comment