From 51f32c7b0f08248b0fabbbbcac3c617ae5ad3f5e Mon Sep 17 00:00:00 2001 From: Ben Wheeler <wheeler.benjamin@gmail.com> Date: Mon, 9 Nov 2020 13:13:02 -0500 Subject: [PATCH] add eslint comments --- src/components/target-pane/target-pane.jsx | 6 ++++-- src/containers/monitor.jsx | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/target-pane/target-pane.jsx b/src/components/target-pane/target-pane.jsx index bffb876e8..13a49b20f 100644 --- a/src/components/target-pane/target-pane.jsx +++ b/src/components/target-pane/target-pane.jsx @@ -82,9 +82,11 @@ const TargetPane = ({ {stage.id && <StageSelector asset={ stage.costume && - stage.costume.asset + // TODO: set correct prop type for this + stage.costume.asset // eslint-disable-line react/prop-types } - backdropCount={stage.costumeCount} + // TODO: set correct prop type for this + backdropCount={stage.costumeCount} // eslint-disable-line react/prop-types id={stage.id} selected={stage.id === editingTarget} onSelect={onSelectSprite} diff --git a/src/containers/monitor.jsx b/src/containers/monitor.jsx index 18a6bbeab..5f20d69e0 100644 --- a/src/containers/monitor.jsx +++ b/src/containers/monitor.jsx @@ -232,8 +232,8 @@ Monitor.propTypes = { min: PropTypes.number, mode: PropTypes.oneOf(['default', 'slider', 'large', 'list']), monitorLayout: PropTypes.shape({ - monitors: PropTypes.object, - savedMonitorPositions: PropTypes.object + monitors: PropTypes.object, // eslint-disable-line react/forbid-prop-types + savedMonitorPositions: PropTypes.object // eslint-disable-line react/forbid-prop-types }).isRequired, onDragEnd: PropTypes.func.isRequired, opcode: PropTypes.string.isRequired, // eslint-disable-line react/no-unused-prop-types -- GitLab