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:
Josh Hunt
2022-04-22 14:33:13 +01:00
committed by GitHub
parent 147a1600e7
commit 3c6e0e8ef8
3311 changed files with 14810 additions and 9526 deletions
@@ -1,5 +1,3 @@
import InputDatasource, { describeDataFrame } from './InputDatasource';
import { InputOptions, InputQuery } from './types';
import {
DataFrame,
DataFrameDTO,
@@ -9,7 +7,9 @@ import {
readCSV,
} from '@grafana/data';
import InputDatasource, { describeDataFrame } from './InputDatasource';
import { getQueryOptions } from './testHelpers';
import { InputOptions, InputQuery } from './types';
describe('InputDatasource', () => {
const data = readCSV('a,b,c\n1,2,3\n4,5,6');