From c03e68041e0f444e18a895058afbdf0d68759517 Mon Sep 17 00:00:00 2001 From: Joffrey BION Date: Sun, 21 May 2017 20:20:45 +0200 Subject: Update prettier config and reformat Here's the discussion summary: - single quote, because that's what I'm used to in the JS world - trailing comma, to avoid unnecessary git changes - print-width 120, because 120 still doesn't require to scroll horizontally, and vertical space is precious --- frontend/src/schemas/games.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'frontend/src/schemas/games.js') diff --git a/frontend/src/schemas/games.js b/frontend/src/schemas/games.js index 9c9681da..68d14fb4 100644 --- a/frontend/src/schemas/games.js +++ b/frontend/src/schemas/games.js @@ -1,15 +1,15 @@ -import { schema } from "normalizr"; +import { schema } from 'normalizr'; const player = new schema.Entity( - "players", + 'players', {}, { - idAttribute: "username" + idAttribute: 'username', } ); -export const game = new schema.Entity("games", { - players: [player] +export const game = new schema.Entity('games', { + players: [player], }); export const gameList = [game]; -- cgit