From e626f2f2282c98400ad704688150807e186a85e2 Mon Sep 17 00:00:00 2001 From: Erik Ritter Date: Tue, 25 Jun 2019 16:57:06 -0700 Subject: [PATCH] fix: move eslint disable comment in reactify test (#184) --- .../superset-ui-chart/test/components/reactify.test.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-chart/test/components/reactify.test.tsx b/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-chart/test/components/reactify.test.tsx index 13534b8d77630..bfee9d62283cc 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-chart/test/components/reactify.test.tsx +++ b/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-chart/test/components/reactify.test.tsx @@ -1,3 +1,5 @@ +/* eslint-disable react/no-multi-comp */ + import PropTypes from 'prop-types'; import React from 'react'; import { mount } from 'enzyme'; @@ -45,7 +47,7 @@ describe('reactify(renderFn)', () => { return ; } } - /* eslint-disable-next-line react/no-multi-comp */ + class AnotherTestComponent extends React.PureComponent<{}, {}, any> { render() { return ;