Showing 1 of 35 total issues
Function handleLeagueSwitch
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
Open
handleLeagueSwitch(data) { const countries = Object.keys(this.config.leagues); for (const country of countries) { const regexp = new RegExp(country, 'g');
- Read upRead up