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 14807 additions and 9523 deletions
@@ -1,5 +1,5 @@
import { ArrayVector } from './ArrayVector';
import { AppendedVectors } from './AppendedVectors';
import { ArrayVector } from './ArrayVector';
describe('Check Appending Vector', () => {
it('should transparently join them', () => {
@@ -1,4 +1,5 @@
import { Vector } from '../types/vector';
import { vectorToArray } from './vectorToArray';
interface AppendedVectorInfo<T> {
@@ -1,4 +1,5 @@
import { MutableVector } from '../types/vector';
import { FunctionalVector } from './FunctionalVector';
/**
@@ -1,4 +1,5 @@
import { Vector } from '../types';
import { FunctionalVector } from './FunctionalVector';
/**
@@ -1,7 +1,8 @@
import { binaryOperators, BinaryOperationID } from '../utils/binaryOperators';
import { ArrayVector } from './ArrayVector';
import { BinaryOperationVector } from './BinaryOperationVector';
import { ConstantVector } from './ConstantVector';
import { binaryOperators, BinaryOperationID } from '../utils/binaryOperators';
describe('ScaledVector', () => {
it('should support multiply operations', () => {
@@ -1,7 +1,8 @@
import { Vector } from '../types/vector';
import { vectorToArray } from './vectorToArray';
import { BinaryOperation } from '../utils/binaryOperators';
import { vectorToArray } from './vectorToArray';
/**
* @public
*/
@@ -1,6 +1,7 @@
import { MutableVector } from '../types/vector';
import { vectorToArray } from './vectorToArray';
import { FunctionalVector } from './FunctionalVector';
import { vectorToArray } from './vectorToArray';
interface CircularOptions<T> {
buffer?: T[];
@@ -1,6 +1,7 @@
import { Vector } from '../types/vector';
import { DisplayProcessor } from '../types';
import { Vector } from '../types/vector';
import { formattedValueToString } from '../valueFormats';
import { FunctionalVector } from './FunctionalVector';
/**
@@ -1,6 +1,7 @@
import { vectorToArray } from './vectorToArray';
import { Vector } from '../types';
import { vectorToArray } from './vectorToArray';
/** @public */
export abstract class FunctionalVector<T = any> implements Vector<T>, Iterable<T> {
abstract get length(): number;
@@ -1,4 +1,5 @@
import { Field, FieldType } from '../types';
import { FunctionalVector } from './FunctionalVector';
/**
@@ -1,4 +1,5 @@
import { Vector } from '../types';
import { vectorToArray } from './vectorToArray';
/**
@@ -1,4 +1,5 @@
import { Vector } from '../types/vector';
import { vectorToArray } from './vectorToArray';
/**