summaryrefslogtreecommitdiff
path: root/web/src/containers
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2020-03-31 08:43:19 -0500
committerMonty Taylor <mordred@inaugust.com>2020-05-21 10:55:29 -0500
commit36de1dd85bf1898eafbd6e6c7dc2939eebeae230 (patch)
treee2953e04b08dfcb2af642222d5945261d874bd37 /web/src/containers
parent5350525e65ac6a6e848865480c45ccccaeb74a5e (diff)
downloadzuul-36de1dd85bf1898eafbd6e6c7dc2939eebeae230.tar.gz
Update to create-react-app 3.4.1
While trying to figure out why the ansi patch wouldn't build it emerged that we're now 2 major releases behind on create-react-app. Update create-react-app to the latest 3.4.1. This also updates react to 16.13, and updates eslint globals processing so that we don't have to declare globals in headers when we've declared them already in the eslint file. Finally, although this doesn't do it, create-react-app 3 has support for typescript, so if we want we can start migrating files to .ts or .tsx extensions and start doing typing in them. Pin nanoid to v2 until such a time as create-react-app can be updated to 3.4.2 which is needed ot handle .cjs extensions being used by nanoid. Change-Id: Ibc69bef605a62e4fdd2ebba33d9d1b822e7dfeba
Diffstat (limited to 'web/src/containers')
-rw-r--r--web/src/containers/Refreshable.jsx2
-rw-r--r--web/src/containers/TableFilters.jsx1
-rw-r--r--web/src/containers/status/ChangePanel.test.jsx1
3 files changed, 2 insertions, 2 deletions
diff --git a/web/src/containers/Refreshable.jsx b/web/src/containers/Refreshable.jsx
index e815602d1..c52f77b70 100644
--- a/web/src/containers/Refreshable.jsx
+++ b/web/src/containers/Refreshable.jsx
@@ -44,6 +44,8 @@ class Refreshable extends React.Component {
const { remoteData } = this.props
return (
<Spinner loading={ remoteData.isFetching }>
+ {/* Lint warning jsx-a11y/anchor-is-valid */}
+ {/* eslint-disable-next-line */}
<a className="refresh" onClick={() => {this.updateData(true)}}>
<Icon type="fa" name="refresh" /> refresh&nbsp;&nbsp;
</a>
diff --git a/web/src/containers/TableFilters.jsx b/web/src/containers/TableFilters.jsx
index 9529911ec..cf97a561c 100644
--- a/web/src/containers/TableFilters.jsx
+++ b/web/src/containers/TableFilters.jsx
@@ -1,4 +1,3 @@
-/* global URLSearchParams */
// Copyright 2018 Red Hat, Inc
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
diff --git a/web/src/containers/status/ChangePanel.test.jsx b/web/src/containers/status/ChangePanel.test.jsx
index a44c9c8b4..d432c0105 100644
--- a/web/src/containers/status/ChangePanel.test.jsx
+++ b/web/src/containers/status/ChangePanel.test.jsx
@@ -1,4 +1,3 @@
-/* global expect, it */
// Copyright 2018 Red Hat, Inc
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may