summaryrefslogtreecommitdiff
path: root/web/src/pages/ConfigErrors.jsx
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/pages/ConfigErrors.jsx
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/pages/ConfigErrors.jsx')
-rw-r--r--web/src/pages/ConfigErrors.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/src/pages/ConfigErrors.jsx b/web/src/pages/ConfigErrors.jsx
index aa0f00b46..c42ab1e06 100644
--- a/web/src/pages/ConfigErrors.jsx
+++ b/web/src/pages/ConfigErrors.jsx
@@ -37,6 +37,8 @@ class ConfigErrorsPage extends React.Component {
return (
<React.Fragment>
<div className="pull-right">
+ {/* Lint warning jsx-a11y/anchor-is-valid */}
+ {/* eslint-disable-next-line */}
<a className="refresh" onClick={() => {this.updateData()}}>
<Icon type="fa" name="refresh" /> refresh&nbsp;&nbsp;
</a>