Backport 44959 ESlint import order to v8.5.x (#48126)

* Add and configure eslint-plugin-import

* Fix the lint:ts npm command

* Autofix + prettier bulk files

* Manually fix files

* @ts-ignore

* Move jquery code in jest-setup to external file to safely reorder imports

* betterer

* Resolve issue caused by circular dependencies within Prometheus

* ignore iconBundle.ts
This commit is contained in:
Josh Hunt
2022-04-22 16:19:02 +01:00
committed by GitHub
parent 9e0e3bec76
commit bf272ad57d
3296 changed files with 14702 additions and 9450 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
'use strict';
const pkg = require('../../package.json');
const { pull } = require('lodash');
const pkg = require('../../package.json');
let dependencies = Object.keys(pkg.dependencies);
// remove jquery so we can add it first
// remove rxjs so we can only depend on parts of it in code