diff --git a/modules/effects/src/effects_metadata.ts b/modules/effects/src/effects_metadata.ts index 56db0f382c..e85fad1e51 100644 --- a/modules/effects/src/effects_metadata.ts +++ b/modules/effects/src/effects_metadata.ts @@ -40,10 +40,7 @@ export function getSourceForInstance(instance: T): T { } export function getSourceMetadata(instance: T): Array> { - return compose( - getEffectMetadataEntries, - getSourceForInstance - )(instance); + return compose(getEffectMetadataEntries, getSourceForInstance)(instance); } export type EffectsMetadata = { [key in keyof T]?: { dispatch: boolean } }; diff --git a/modules/store-devtools/src/reducer.ts b/modules/store-devtools/src/reducer.ts index 43a1943f2b..cb2e9fb85c 100644 --- a/modules/store-devtools/src/reducer.ts +++ b/modules/store-devtools/src/reducer.ts @@ -330,6 +330,7 @@ export function liftReducerWith( skippedActionIds, committedState, currentStateIndex, + // prettier-ignore computedStates } = liftedAction.nextLiftedState); break; diff --git a/prettier.config.js b/prettier.config.js index 8589369152..a425d3f761 100644 --- a/prettier.config.js +++ b/prettier.config.js @@ -1,4 +1,4 @@ module.exports = { singleQuote: true, - trailingComma: 'none', + trailingComma: 'es5', };