summaryrefslogtreecommitdiff
path: root/frontend/src/index.js
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2017-05-21 20:20:45 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2017-05-22 00:23:02 +0200
commitc03e68041e0f444e18a895058afbdf0d68759517 (patch)
tree6e31f9726d36e746f43c7856cebff8c861577e31 /frontend/src/index.js
parentClean name in websocket.js (diff)
downloadseven-wonders-c03e68041e0f444e18a895058afbdf0d68759517.tar.gz
seven-wonders-c03e68041e0f444e18a895058afbdf0d68759517.tar.bz2
seven-wonders-c03e68041e0f444e18a895058afbdf0d68759517.zip
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
Diffstat (limited to 'frontend/src/index.js')
-rw-r--r--frontend/src/index.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/frontend/src/index.js b/frontend/src/index.js
index 5fd52c01..a627dd07 100644
--- a/frontend/src/index.js
+++ b/frontend/src/index.js
@@ -1,13 +1,13 @@
-import "babel-polyfill";
-import "./global-styles.css";
+import 'babel-polyfill';
+import './global-styles.css';
-import React from "react";
-import ReactDOM from "react-dom";
-import { Router } from "react-router";
-import { Provider } from "react-redux";
+import React from 'react';
+import ReactDOM from 'react-dom';
+import { Router } from 'react-router';
+import { Provider } from 'react-redux';
-import configureStore from "./store";
-import { routes } from "./routes";
+import configureStore from './store';
+import { routes } from './routes';
const initialState = {};
const { store, history } = configureStore(initialState);
@@ -16,5 +16,5 @@ ReactDOM.render(
<Provider store={store}>
<Router history={history} routes={routes} />
</Provider>,
- document.getElementById("root")
+ document.getElementById('root')
);
bgstack15