app/assets/javascripts/models/beta/iteration.js
File iteration.js
has 253 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import moment from 'moment';
import { last, isEmpty } from 'underscore';
import * as Story from './story';
const weeksBetween = (dateA, dateB) =>
Function groupBySprints
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const groupBySprints = (
stories = [],
project,
initialSprintNumber = 1
) => {
Function addSprintWithOverflow
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const addSprintWithOverflow = (
project,
sprints,
story,
velocity,