client/src/preview/store/libraryConfigFiles.slice.ts
Function addOrUpdateLibraryFile
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
addOrUpdateLibraryFile: (
state,
action: PayloadAction<LibraryConfigFile>,
) => {
const { fileName, assetPath, isNew, isPrivate, ...rest } = action.payload;