Eslint: no-duplicate-imports rule (bump grafana-eslint-config) (#30989)

* Eslint: no-duplicate-imports rule (bump grafana-eslint-config)

* Chore: Fix duplicate imports (#31041)

* Rebased this branch into eslint-no-duplicate-imports

* updated some changes

* merged uncaught duplicate imports

* fixes frontend test- I hope

* fixes e2e test- I hope

Co-authored-by: Uchechukwu Obasi <obasiuche62@gmail.com>
This commit is contained in:
Dominik Prokop
2021-02-11 13:45:25 +01:00
committed by GitHub
parent 699724581d
commit 8d339a279b
79 changed files with 150 additions and 238 deletions

View File

@@ -1,10 +1,9 @@
import React from 'react';
import React, { PureComponent } from 'react';
import config from 'app/core/config';
import { updateLocation } from 'app/core/actions';
import { connect } from 'react-redux';
import { StoreState } from 'app/types';
import { PureComponent } from 'react';
import { getBackendSrv } from '@grafana/runtime';
import { hot } from 'react-hot-loader';
import appEvents from 'app/core/app_events';

View File

@@ -1,7 +1,6 @@
import React, { Component } from 'react';
import _ from 'lodash';
import _, { debounce } from 'lodash';
import { AsyncSelect } from '@grafana/ui';
import { debounce } from 'lodash';
import { getBackendSrv } from '@grafana/runtime';
export interface Team {

View File

@@ -1,12 +1,11 @@
// Libraries
import React, { Component } from 'react';
import _ from 'lodash';
import _, { debounce } from 'lodash';
// Components
import { AsyncSelect } from '@grafana/ui';
// Utils & Services
import { debounce } from 'lodash';
import { getBackendSrv } from '@grafana/runtime';
// Types