diff --git a/packages/victory-candlestick/src/victory-candlestick.tsx b/packages/victory-candlestick/src/victory-candlestick.tsx index 6800c8974..9178c3c35 100644 --- a/packages/victory-candlestick/src/victory-candlestick.tsx +++ b/packages/victory-candlestick/src/victory-candlestick.tsx @@ -13,7 +13,6 @@ import { VictoryCommonProps, VictoryDatableProps, VictoryLabelStyleObject, - VictoryLabelableProps, VictoryMultiLabelableProps, VictoryStyleObject, NumberOrCallback, diff --git a/packages/victory-core/src/victory-util/wrapper.tsx b/packages/victory-core/src/victory-util/wrapper.tsx index 79520fae4..a25878cf8 100644 --- a/packages/victory-core/src/victory-util/wrapper.tsx +++ b/packages/victory-core/src/victory-util/wrapper.tsx @@ -1,4 +1,4 @@ -import { defaults, uniq, groupBy, uniqBy, isPlainObject } from "lodash"; +import { defaults, uniq, groupBy, uniqBy } from "lodash"; import React from "react"; import * as Axis from "./axis"; import * as Style from "./style"; diff --git a/packages/victory-errorbar/src/error-bar.tsx b/packages/victory-errorbar/src/error-bar.tsx index 2b03eac23..3f1e501ce 100644 --- a/packages/victory-errorbar/src/error-bar.tsx +++ b/packages/victory-errorbar/src/error-bar.tsx @@ -115,6 +115,7 @@ const defaultProps = { shapeRendering: "auto", }; +// eslint-disable-next-line @typescript-eslint/no-unused-vars export const ErrorBar = ( initialProps: ErrorBarProps & typeof ErrorBar.default, ) => { diff --git a/packages/victory-errorbar/src/victory-errorbar.tsx b/packages/victory-errorbar/src/victory-errorbar.tsx index 07da82518..f4786f2c9 100644 --- a/packages/victory-errorbar/src/victory-errorbar.tsx +++ b/packages/victory-errorbar/src/victory-errorbar.tsx @@ -12,7 +12,6 @@ import { StringOrNumberOrList, VictoryDatableProps, VictoryCommonProps, - VictoryLabelableProps, VictoryMultiLabelableProps, VictoryStyleInterface, EventsMixinClass, diff --git a/packages/victory-group/src/victory-group.tsx b/packages/victory-group/src/victory-group.tsx index 6791625aa..5895ab955 100644 --- a/packages/victory-group/src/victory-group.tsx +++ b/packages/victory-group/src/victory-group.tsx @@ -1,10 +1,6 @@ import { defaults, isEmpty } from "lodash"; import React from "react"; import { - CategoryPropType, - ColorScalePropType, - DomainPaddingPropType, - DomainPropType, EventPropTypeInterface, Helpers, Hooks, diff --git a/packages/victory-line/src/victory-line.tsx b/packages/victory-line/src/victory-line.tsx index 52003456c..04204a992 100644 --- a/packages/victory-line/src/victory-line.tsx +++ b/packages/victory-line/src/victory-line.tsx @@ -18,7 +18,6 @@ import { VictoryCommonProps, VictoryDatableProps, VictoryMultiLabelableProps, - VictoryLabelableProps, VictoryStyleInterface, EventsMixinClass, } from "victory-core"; diff --git a/packages/victory-pie/src/helper-methods.ts b/packages/victory-pie/src/helper-methods.ts index c0d4e7105..09c12f49c 100644 --- a/packages/victory-pie/src/helper-methods.ts +++ b/packages/victory-pie/src/helper-methods.ts @@ -4,7 +4,6 @@ import * as d3Shape from "victory-vendor/d3-shape"; import { Helpers, Data, Style } from "victory-core"; import { VictoryPieProps } from "./victory-pie"; -import { getCategories } from "victory-core/lib/victory-util/data"; const checkForValidText = (text) => { if (text === undefined || text === null || Helpers.isFunction(text)) { diff --git a/packages/victory-pie/src/victory-pie.tsx b/packages/victory-pie/src/victory-pie.tsx index 3fc94afd1..5a1c9ff20 100644 --- a/packages/victory-pie/src/victory-pie.tsx +++ b/packages/victory-pie/src/victory-pie.tsx @@ -8,14 +8,11 @@ import { VictoryLabel, VictoryTheme, UserProps, - ColorScalePropType, EventPropTypeInterface, NumberOrCallback, - OriginType, SliceNumberOrCallback, StringOrNumberOrCallback, VictoryCommonProps, - VictoryLabelableProps, VictoryMultiLabelableProps, VictoryStyleInterface, EventsMixinClass, diff --git a/packages/victory-stack/src/victory-stack.tsx b/packages/victory-stack/src/victory-stack.tsx index 5864df889..9ff8044d3 100644 --- a/packages/victory-stack/src/victory-stack.tsx +++ b/packages/victory-stack/src/victory-stack.tsx @@ -2,12 +2,10 @@ import { defaults, isEmpty } from "lodash"; import React from "react"; import { CategoryPropType, - ColorScalePropType, DomainPropType, EventPropTypeInterface, StringOrNumberOrCallback, VictoryCommonProps, - VictoryLabelableProps, VictoryMultiLabelableProps, VictoryStyleInterface, Helpers,