From 513bdc12e7d2141637fe4516ed7f4efbe56b2b55 Mon Sep 17 00:00:00 2001 From: Colin Date: Thu, 14 Jan 2021 09:23:23 -0700 Subject: [PATCH] Fix lint --- plugins/linear-genome-view/src/LinearGenomeView/index.ts | 5 ++--- plugins/linear-genome-view/src/index.ts | 2 ++ plugins/svg/src/index.ts | 6 ------ 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/plugins/linear-genome-view/src/LinearGenomeView/index.ts b/plugins/linear-genome-view/src/LinearGenomeView/index.ts index f7fdc15e42b..b653845d6f4 100644 --- a/plugins/linear-genome-view/src/LinearGenomeView/index.ts +++ b/plugins/linear-genome-view/src/LinearGenomeView/index.ts @@ -768,9 +768,8 @@ export function stateModelFactory(pluginManager: PluginManager) { } if (e === undefined) { throw new Error( - `could not find a region with refName "${refName}" that contained a start position ${ - s + 1 - }`, + `could not find a region with refName "${refName}" that contained a start position ${s + + 1}`, ) } if (index === -1) { diff --git a/plugins/linear-genome-view/src/index.ts b/plugins/linear-genome-view/src/index.ts index 90b44ac7600..0fe07ffab96 100644 --- a/plugins/linear-genome-view/src/index.ts +++ b/plugins/linear-genome-view/src/index.ts @@ -134,5 +134,7 @@ export { baseLinearDisplayConfigSchema, linearBasicDisplayConfigSchemaFactory, } + export type { LinearGenomeViewModel, LinearGenomeViewStateModel, BlockModel } + export type { BaseLinearDisplayModel } from './BaseLinearDisplay' diff --git a/plugins/svg/src/index.ts b/plugins/svg/src/index.ts index ece9d86f161..867f98fed1b 100644 --- a/plugins/svg/src/index.ts +++ b/plugins/svg/src/index.ts @@ -1,14 +1,8 @@ import DisplayType from '@jbrowse/core/pluggableElementTypes/DisplayType' import BoxRendererType from '@jbrowse/core/pluggableElementTypes/renderers/BoxRendererType' import Plugin from '@jbrowse/core/Plugin' -import { ConfigurationSchema } from '@jbrowse/core/configuration' import PluginManager from '@jbrowse/core/PluginManager' -import TrackType from '@jbrowse/core/pluggableElementTypes/TrackType' import { BaseLinearDisplayComponent } from '@jbrowse/plugin-linear-genome-view' -import { - createBaseTrackConfig, - createBaseTrackModel, -} from '@jbrowse/core/pluggableElementTypes/models' import { configSchema as svgFeatureRendererConfigSchema, ReactComponent as SvgFeatureRendererReactComponent,