Showing 2 of 18 total issues
Function resourceReducer
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function resourceReducer(
resourceKeys: string[],
): Reducer<ResourceStoreState> {
const initialResourceState = initialResourceStoreState(resourceKeys);
Function registerValidSW
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function registerValidSW(swUrl: string, config?: Config) {
navigator.serviceWorker
.register(swUrl)
.then(registration => {
registration.onupdatefound = () => {