mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 23:12:54 +08: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,7 +1,8 @@
|
||||
import { GrafanaPlugin, PanelPluginMeta, PluginType } from '@grafana/data';
|
||||
|
||||
import { importPanelPluginFromMeta } from './importPanelPlugin';
|
||||
import { getPluginSettings } from './pluginSettings';
|
||||
import { importAppPlugin, importDataSourcePlugin } from './plugin_loader';
|
||||
import { importPanelPluginFromMeta } from './importPanelPlugin';
|
||||
|
||||
export async function loadPlugin(pluginId: string): Promise<GrafanaPlugin> {
|
||||
const info = await getPluginSettings(pluginId);
|
||||
|
Reference in New Issue
Block a user