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/index.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'frontend/src/index.js') 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( , - document.getElementById("root") + document.getElementById('root') ); -- cgit