Showing 5 of 52 total issues
File image_infos_reducer.js
has 384 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// @flow
import { Map } from 'immutable';
import type { ImageGalleryImageInfo } from '../../models/ImageGalleryImageInfo';
import {
- Create a ticketCreate a ticket
File image_galleries_reducer.js
has 273 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// @flow
import { Map } from 'immutable';
import type { ImageGallery } from '../../models/ImageGallery';
import {
- Create a ticketCreate a ticket
Function imageInfosReducer
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function imageInfosReducer(
state : State = INITIAL_STATE,
action : MediaGalleryAction,
) : State {
switch (action.type) {
- Create a ticketCreate a ticket
Function imageGalleriesReducer
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function imageGalleriesReducer(
state: GalleryState = INITIAL_STATE,
action: MediaGalleryAction,
) : GalleryState {
switch (action.type) {
- Create a ticketCreate a ticket
Function updateImageInfo
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
authToken: string,
galleryId: number,
imageInfoId: number,
name: string,
description: string,
- Create a ticketCreate a ticket