Interactive interface for browsing global, full-resolution satellite imagery
bypass instace of `react/no-render-return-value` so we can enable
Jason Kent19bd0537a0d0
diff --git a/.eslintrc b/.eslintrcindex ba7663113..72c70ceb2 100644--- a/.eslintrc+++ b/.eslintrc@@ -120,17 +120,15 @@// React rules overrides"react/jsx-props-no-spreading": "off","react/jsx-filename-extension": "off",- "react/jsx-no-bind": "off",- "react/prefer-stateless-function": "off",+ "react/jsx-no-bind": "off", // 37 warnings+ "react/prefer-stateless-function": "warn", // 20 errors, consider fixing"react/sort-comp": "off",- "react/no-danger": "off",- "react/no-unused-state": "warn",- "react/no-unused-prop-types": "off", //66 errors- "react/forbid-prop-types": "off",- "react/require-default-props": "off",- "react/destructuring-assignment": "off",- "react/no-array-index-key": "warn",- "react/no-render-return-value": "warn"+ "react/no-unused-state": "warn", // 38 errors+ "react/no-unused-prop-types": "warn", // 66 errors+ "react/forbid-prop-types": "off", // 216 errors+ "react/require-default-props": "off", // 965 errors+ "react/destructuring-assignment": "warn", // 464 errors+ "react/no-array-index-key": "warn"}}]diff --git a/web/js/map/datelinebuilder.js b/web/js/map/datelinebuilder.jsindex b0bfdbe2d..37b0fc260 100644--- a/web/js/map/datelinebuilder.js+++ b/web/js/map/datelinebuilder.js@@ -1,3 +1,4 @@+/* eslint-disable react/no-render-return-value */import React from 'react';import ReactDOM from 'react-dom';import OlOverlay from 'ol/Overlay';@@ -58,6 +59,9 @@ export function mapDateLineBuilder(models, config, store, ui) {}case CHANGE_PROJECTION:proj = action.id;+ break;+ default:+ break;}};self.init = function(Parent, olMap, date) {