Showing 53 of 79 total issues
Avoid deeply nested control flow statements. Open
Open
if (field.type === 'Number') {
const value = parseInt(params.search, 10) || 0;
if (value) {
condition = opts.Sequelize.where(column, ' = ', value);
hasExtendedConditions = true;
Function HasManyAssociator
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function HasManyAssociator(model, association, opts, params, data) {
Function HasManyDissociator
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function HasManyDissociator(model, association, options, params, data) {
Function ResourcesExporter
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function ResourcesExporter(model, options, params, association, user) {
Avoid too many return
statements within this function. Open
Open
return 'Date';
Avoid too many return
statements within this function. Open
Open
return currentPreviousInterval;
Avoid too many return
statements within this function. Open
Open
return null;
Avoid too many return
statements within this function. Open
Open
return 'Point';
Avoid too many return
statements within this function. Open
Open
return 'Json';
Avoid too many return
statements within this function. Open
Open
return [new ApimapFieldTypeDetector({ type: column.type.type }, options).perform()];
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
return 'Time';
Avoid too many return
statements within this function. Open
Open
return 'Number';