Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Commit 2cb81d8

Browse files
alex-okrushkobrandonroberts
authored andcommitted
chore: Turn prettier back on and just use comments for ignored lines (ngrx#1174)
1 parent 03db76f commit 2cb81d8

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Diff for: modules/effects/src/effects_metadata.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ export function getSourceForInstance<T>(instance: T): T {
4040
}
4141

4242
export function getSourceMetadata<T>(instance: T): Array<EffectMetadata<T>> {
43-
return compose(
44-
getEffectMetadataEntries,
45-
getSourceForInstance
46-
)(instance);
43+
return compose(getEffectMetadataEntries, getSourceForInstance)(instance);
4744
}
4845

4946
export type EffectsMetadata<T> = { [key in keyof T]?: { dispatch: boolean } };

Diff for: modules/store-devtools/src/reducer.ts

+1
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ export function liftReducerWith(
330330
skippedActionIds,
331331
committedState,
332332
currentStateIndex,
333+
// prettier-ignore
333334
computedStates
334335
} = liftedAction.nextLiftedState);
335336
break;

Diff for: prettier.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module.exports = {
22
singleQuote: true,
3-
trailingComma: 'none',
3+
trailingComma: 'es5',
44
};

0 commit comments

Comments
 (0)