Showing 2 of 2 total issues
Function state
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const state = onChange(initialState, (path, curVal, prevVal) => {
switch (path) {
case 'form.urlState':
if (curVal === 'valid') {
input.classList.remove('is-invalid');
Function updateTracking
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const updateTracking = () => {
setTimeout(() => {
state.updateTracking.updateTrackingState = 'processing';
const { feeds } = state.feedsBody;
for (let i = 0; i < feeds.length; i += 1) {