src/PluginRegistry.ts
Showing 2 of 2 total issues
Function loadPlugins
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async loadPlugins(configs: PluginConfig[]) { for (const config of configs) { try { // Provide React and ReactDOM to the plugin (window as any).React = React;
- Create a ticketCreate a ticket
Function loadPlugins
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
Open
async loadPlugins(configs: PluginConfig[]) { for (const config of configs) { try { // Provide React and ReactDOM to the plugin (window as any).React = React;
- Read upRead up
- Create a ticketCreate a ticket