At some point, over the last few months, a change was introduced to the Power Platform CLI such that if you have the ESLint VS Code add-in installed, after using pac pcf init
, you may see an error in VS code:
'ComponentFramework' is not defined.eslint(no-undef)
This might look something like this in the index.ts file:
The reason for this is that the pac pcf init
template now includes an…
Continue Reading Develop1’s Article on their blog
‘ComponentFramework’ is not defined – eslint with pac pcf init
Develop 1 Limited Blog – Microsoft Dynamics 365 Solutions – At some point, over the last few months, a change was introduced to the Power Platform CLI such that you may get eslint errors after using pac pcf init.
Blog Syndicated with Develop1’s Permission