superset-frontend/src/dataMask/reducer.ts
Function dataMaskReducer
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
(draft: DataMaskStateWithId, action: AnyDataMaskAction) => {
const cleanState = {};
switch (action.type) {
case CLEAR_DATA_MASK_STATE:
return cleanState;
Function fillNativeFilters
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function fillNativeFilters(
filterConfig: FilterConfiguration,
mergedDataMask: DataMaskStateWithId,
draftDataMask: DataMaskStateWithId,
initialDataMask?: DataMaskStateWithId,
Function fillNativeFilters
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
filterConfig: FilterConfiguration,
mergedDataMask: DataMaskStateWithId,
draftDataMask: DataMaskStateWithId,
initialDataMask?: DataMaskStateWithId,
currentFilters?: Filters,