mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: ESlint import order (#44959)
* Add and configure eslint-plugin-import * Fix the lint:ts npm command * Autofix + prettier all the files * Manually fix remaining files * Move jquery code in jest-setup to external file to safely reorder imports * Resolve issue caused by circular dependencies within Prometheus * Update .betterer.results * Fix missing // @ts-ignore * ignore iconBundle.ts * Fix missing // @ts-ignore
This commit is contained in:
@@ -1,23 +1,21 @@
|
||||
// Libraries
|
||||
import classNames from 'classnames';
|
||||
import React, { PureComponent, CSSProperties } from 'react';
|
||||
import ReactGridLayout, { ItemCallback } from 'react-grid-layout';
|
||||
import classNames from 'classnames';
|
||||
import { connect, ConnectedProps } from 'react-redux';
|
||||
import AutoSizer from 'react-virtualized-auto-sizer';
|
||||
import { Subscription } from 'rxjs';
|
||||
|
||||
import { config } from '@grafana/runtime';
|
||||
import { GRID_CELL_HEIGHT, GRID_CELL_VMARGIN, GRID_COLUMN_COUNT } from 'app/core/constants';
|
||||
import { cleanAndRemoveMany } from 'app/features/panel/state/actions';
|
||||
import { DashboardPanelsChangedEvent } from 'app/types/events';
|
||||
|
||||
// Components
|
||||
import { AddPanelWidget } from '../components/AddPanelWidget';
|
||||
import { DashboardRow } from '../components/DashboardRow';
|
||||
|
||||
// Types
|
||||
import { GRID_CELL_HEIGHT, GRID_CELL_VMARGIN, GRID_COLUMN_COUNT } from 'app/core/constants';
|
||||
import { DashboardPanel } from './DashboardPanel';
|
||||
import { DashboardModel, PanelModel } from '../state';
|
||||
import { Subscription } from 'rxjs';
|
||||
import { connect, ConnectedProps } from 'react-redux';
|
||||
import { DashboardPanelsChangedEvent } from 'app/types/events';
|
||||
import { cleanAndRemoveMany } from 'app/features/panel/state/actions';
|
||||
import { GridPos } from '../state/PanelModel';
|
||||
import { config } from '@grafana/runtime';
|
||||
|
||||
import { DashboardPanel } from './DashboardPanel';
|
||||
|
||||
export interface OwnProps {
|
||||
dashboard: DashboardModel;
|
||||
|
||||
Reference in New Issue
Block a user