Skip to content

Commit

Permalink
chore: Turn prettier back on and just use comments for ignored lines (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-okrushko authored and brandonroberts committed Jul 5, 2018
1 parent 03db76f commit 2cb81d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions modules/effects/src/effects_metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ export function getSourceForInstance<T>(instance: T): T {
}

export function getSourceMetadata<T>(instance: T): Array<EffectMetadata<T>> {
return compose(
getEffectMetadataEntries,
getSourceForInstance
)(instance);
return compose(getEffectMetadataEntries, getSourceForInstance)(instance);
}

export type EffectsMetadata<T> = { [key in keyof T]?: { dispatch: boolean } };
Expand Down
1 change: 1 addition & 0 deletions modules/store-devtools/src/reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ export function liftReducerWith(
skippedActionIds,
committedState,
currentStateIndex,
// prettier-ignore
computedStates
} = liftedAction.nextLiftedState);
break;
Expand Down
2 changes: 1 addition & 1 deletion prettier.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
singleQuote: true,
trailingComma: 'none',
trailingComma: 'es5',
};

0 comments on commit 2cb81d8

Please sign in to comment.