Skip to content

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

added prettierrc file

Jerome Cukier1de458954267
diff --git a/website/.prettierrc b/website/.prettierrc
new file mode 100644
index 000000000..7f5dba435
--- /dev/null
+++ b/website/.prettierrc
@@ -0,0 +1,4 @@
+{
+ "bracketSpacing": false,
+ "singleQuote": true
+}
diff --git a/website/src/components/app.js b/website/src/components/app.js
index 90e395e3c..538d5f0d7 100644
--- a/website/src/components/app.js
+++ b/website/src/components/app.js
@@ -1,7 +1,7 @@
-import React, { Component } from 'react';
-import styled, { ThemeProvider } from 'styled-components';
-import { theme } from '../styles';
-import { connect } from 'react-redux';
+import React, {Component} from 'react';
+import styled, {ThemeProvider} from 'styled-components';
+import {theme} from '../styles';
+import {connect} from 'react-redux';
const GlobalStyle = styled.div`
font-family: ff-clan-web-pro, 'Helvetica Neue', Helvetica, sans-serif;
@@ -35,7 +35,7 @@ const GlobalStyle = styled.div`
class App extends Component {
render() {
- const { children } = this.props;
+ const {children} = this.props;
return (
<ThemeProvider theme={theme}>
diff --git a/website/src/components/home.js b/website/src/components/home.js
index 3d6cb2cef..7bf316ad9 100644
--- a/website/src/components/home.js
+++ b/website/src/components/home.js
@@ -1,19 +1,19 @@
-import React, { Component } from 'react';
+import React, {Component} from 'react';
import window from 'global/window';
-import styled, { keyframes } from 'styled-components';
-import { media, breakPoints } from '../styles';
+import styled, {keyframes} from 'styled-components';
+import {media, breakPoints} from '../styles';
import Helmet from 'react-helmet';
export const CLOUDFRONT = 'https://d1a3f4spazzrp4.cloudfront.net/';
export const KEPLER_GL_BUCKET = 'kepler.gl/';
-import { Button } from './common/styled-components';
+import {Button} from './common/styled-components';
// ee755ad8-3d68-4559-ab6b-cdcedb3a4d04
const imgRatio = 696 / 1080;
-const imageSize = { w: 1080, h: 696, top: 137, right: 132, palm: 272 };
-const screenSize = { w: 1680, h: 954 };
+const imageSize = {w: 1080, h: 696, top: 137, right: 132, palm: 272};
+const screenSize = {w: 1680, h: 954};
const imgToScrRatio = imageSize.w / screenSize.w;
const imgMinW = 880;