Re-enable no-useless-path-segments rule (#10860)

This commit is contained in:
Kamil Gabryjelski
2020-09-14 19:38:18 +02:00
committed by GitHub
parent 906a629b33
commit 7f1012360a
12 changed files with 14 additions and 20 deletions

View File

@@ -40,11 +40,11 @@ import { t } from '@superset-ui/core';
import Button from 'src/components/Button';
import getClientErrorObject from '../../utils/getClientErrorObject';
import CopyToClipboard from './../../components/CopyToClipboard';
import CopyToClipboard from '../../components/CopyToClipboard';
import { getChartDataRequest } from '../../chart/chartAction';
import downloadAsImage from '../../utils/downloadAsImage';
import Loading from '../../components/Loading';
import ModalTrigger from './../../components/ModalTrigger';
import ModalTrigger from '../../components/ModalTrigger';
import RowCountLabel from './RowCountLabel';
import {
applyFormattingToTabularData,

View File

@@ -35,7 +35,7 @@ import * as exploreActions from '../actions/exploreActions';
import * as saveModalActions from '../actions/saveModalActions';
import * as chartActions from '../../chart/chartAction';
import { fetchDatasourceMetadata } from '../../dashboard/actions/datasources';
import * as logActions from '../../logger/actions/';
import * as logActions from '../../logger/actions';
import {
LOG_ACTIONS_MOUNT_EXPLORER,
LOG_ACTIONS_CHANGE_EXPLORE_CONTROLS,

View File

@@ -29,7 +29,7 @@ import {
import { InfoTooltipWithTrigger } from '@superset-ui/chart-controls';
import ControlHeader from '../ControlHeader';
import controlMap from './';
import controlMap from '.';
import './CollectionControl.less';
const propTypes = {

View File

@@ -27,7 +27,7 @@ import {
columnChoices,
} from '@superset-ui/chart-controls';
import { PRIMARY_COLOR } from '../controls';
import { DEFAULT_VIEWPORT } from '../../explore/components/controls/ViewportControl';
import { DEFAULT_VIEWPORT } from '../components/controls/ViewportControl';
const sandboxUrl =
'https://github.com/apache/incubator-superset/' +