Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fix lint errors

ZachTRice7b729f03ea67
diff --git a/e2e/features/animation/mobile-animation-test.js b/e2e/features/animation/mobile-animation-test.js
index 6344181c9..367ce0b6c 100644
--- a/e2e/features/animation/mobile-animation-test.js
+++ b/e2e/features/animation/mobile-animation-test.js
@@ -20,8 +20,8 @@ module.exports = {
},
'Minimizing mobile animation widget opens collapsed animation widget': (c) => {
- c.useCss().click('#mobile-animation-close');
- c.waitForElementVisible('#collapsed-animate-widget-phone-portrait', TIME_LIMIT);
+ c.useCss().click('#mobile-animation-close')
+ c.waitForElementVisible('#collapsed-animate-widget-phone-portrait', TIME_LIMIT)
},
'Playing the animation changes the date of the mobile date picker': (c) => {
diff --git a/e2e/features/layers/layer-picker-test.js b/e2e/features/layers/layer-picker-test.js
index eb95e186b..31d237430 100644
--- a/e2e/features/layers/layer-picker-test.js
+++ b/e2e/features/layers/layer-picker-test.js
@@ -172,13 +172,13 @@ module.exports = {
c.expect.element(availableFilterCheckboxInput).to.be.selected
},
'Disabling coverage filter updates list': (c) => {
- c.click(availableFilterCheckbox);
- c.pause(200);
- c.expect.element(availableFilterCheckboxInput).to.not.be.selected;
- c.expect.elements(layersSearchRow).count.to.equal(10);
+ c.click(availableFilterCheckbox)
+ c.pause(200)
+ c.expect.element(availableFilterCheckboxInput).to.not.be.selected
+ c.expect.elements(layersSearchRow).count.to.equal(10)
c
.assert
- .containsText(layerResultsCountText, 'Showing 10 out of');
+ .containsText(layerResultsCountText, 'Showing 10 out of')
},
'Finding layer by ID with search': (c) => {
c.clearValue(layersSearchField)
diff --git a/e2e/features/share/share-test.js b/e2e/features/share/share-test.js
index 64f6dbdc8..d402933b2 100644
--- a/e2e/features/share/share-test.js
+++ b/e2e/features/share/share-test.js
@@ -9,9 +9,9 @@ const {
shareLinkInput
} = localSelectors
-const linkShareNav = '.link-share-nav';
+const linkShareNav = '.link-share-nav'
// const embedShareNav = '.embed-share-nav';
-const socialShareNav = '.social-share-nav';
+const socialShareNav = '.social-share-nav'
module.exports = {
before (c) {
@@ -24,10 +24,10 @@ module.exports = {
c.expect.element(shareToolbar).to.be.present
},
'Share tabs link, embed, and social are visible and enabled': (c) => {
- c.expect.element(linkShareNav).to.be.present;
+ c.expect.element(linkShareNav).to.be.present
// c.expect.element(embedShareNav).to.be.present;
- c.expect.element(socialShareNav).to.be.present;
- c.assert.cssClassPresent(`${linkShareNav} a`, 'active');
+ c.expect.element(socialShareNav).to.be.present
+ c.assert.cssClassPresent(`${linkShareNav} a`, 'active')
},
'Share link clipboard with existing time query string param in the page url will have the same serialized time': (c) => {
const queryString = '?t=2018-12-31'
diff --git a/tasks/util/start.js b/tasks/util/start.js
index 0870ea7f3..6cda88ac6 100755
--- a/tasks/util/start.js
+++ b/tasks/util/start.js
@@ -4,11 +4,11 @@ const path = require('path')
const port = process.env.PORT || 3000
-const app = express();
-app.use(compression());
-app.use(express.static(path.join(__dirname, '../web')));
+const app = express()
+app.use(compression())
+app.use(express.static(path.join(__dirname, '../web')))
// app.use('/test', express.static(path.join(__dirname, '../build/worldview'))); // test dist in a "test" sub directory
-app.set('port', port);
+app.set('port', port)
app.listen(port, () => {
console.log(`Worldview is available at http://localhost:${port}`)
})
diff --git a/webpack.config.js b/webpack.config.js
index f9f225b98..6e45bdca9 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -1,12 +1,12 @@
-const path = require('path');
-const webpack = require('webpack');
-const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
-const TerserPlugin = require('terser-webpack-plugin');
-const MiniCssExtractPlugin = require('mini-css-extract-plugin');
-const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
-const MomentLocalesPlugin = require('moment-locales-webpack-plugin');
-const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
-const CssUrlRelativePlugin = require('css-url-relative-plugin');
+const path = require('path')
+const webpack = require('webpack')
+const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer')
+const TerserPlugin = require('terser-webpack-plugin')
+const MiniCssExtractPlugin = require('mini-css-extract-plugin')
+const CssMinimizerPlugin = require('css-minimizer-webpack-plugin')
+const MomentLocalesPlugin = require('moment-locales-webpack-plugin')
+const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin')
+const CssUrlRelativePlugin = require('css-url-relative-plugin')
const devMode = process.env.NODE_ENV !== 'production'