From 313fc856d19a49714dbd692fe052893bf98f1859 Mon Sep 17 00:00:00 2001 From: Andrew Nicolaou Date: Tue, 6 Jun 2017 04:33:32 +0200 Subject: [PATCH] Fixes linting errors (#362) --- client/components/Nav.jsx | 15 ++++++++++++--- client/modules/IDE/components/Console.jsx | 6 +++++- client/modules/IDE/components/FileNode.jsx | 6 +++++- client/modules/IDE/components/GridOutput.jsx | 2 +- client/modules/IDE/components/PreviewFrame.jsx | 6 +++++- client/modules/IDE/components/Toolbar.jsx | 5 ++++- client/modules/IDE/pages/IDEView.jsx | 12 ++++++++++-- client/modules/User/components/AccountForm.jsx | 13 +++++++++++-- .../modules/User/components/NewPasswordForm.jsx | 6 +++++- .../modules/User/components/ResetPasswordForm.jsx | 7 ++++++- client/modules/User/components/SignupForm.jsx | 6 +++++- client/utils/reduxFormUtils.js | 4 +++- 12 files changed, 72 insertions(+), 16 deletions(-) diff --git a/client/components/Nav.jsx b/client/components/Nav.jsx index 181c0e64..6ef4fb35 100644 --- a/client/components/Nav.jsx +++ b/client/components/Nav.jsx @@ -21,7 +21,10 @@ class Nav extends React.PureComponent { {(() => { // eslint-disable-line - if (!this.props.project.owner || (this.props.project.owner && this.props.project.owner.id === this.props.user.id)) { + if ( + !this.props.project.owner || + (this.props.project.owner && this.props.project.owner.id === this.props.user.id) + ) { return (
  • ); @@ -153,7 +158,11 @@ class Nav extends React.PureComponent {
    This is a preview version of the editor, that has not yet been officially released. - It is in development, you can report bugs here. + It is in development, you can report bugs here. Please use with caution.
    diff --git a/client/modules/IDE/components/Console.jsx b/client/modules/IDE/components/Console.jsx index d3f2eabb..6fb3e143 100644 --- a/client/modules/IDE/components/Console.jsx +++ b/client/modules/IDE/components/Console.jsx @@ -24,7 +24,11 @@ class Console extends React.Component { -