src/api/models/stats.js
Function _getTeamStats
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
let _getTeamStats = (teamId) => {
let extractCurrentStreak = (form) => {
let match = form.match(/^W+/)
if (match) {
return { wins: match[0].length };
- Create a ticketCreate a ticket