Skip to content

Commit 086857d

Browse files
committed
Cleanup ESLint warnings
1 parent d55eb2c commit 086857d

File tree

9 files changed

+2
-14
lines changed

9 files changed

+2
-14
lines changed

packages/victory-candlestick/src/victory-candlestick.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
VictoryCommonProps,
1414
VictoryDatableProps,
1515
VictoryLabelStyleObject,
16-
VictoryLabelableProps,
1716
VictoryMultiLabelableProps,
1817
VictoryStyleObject,
1918
NumberOrCallback,

packages/victory-core/src/victory-util/wrapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defaults, uniq, groupBy, uniqBy, isPlainObject } from "lodash";
1+
import { defaults, uniq, groupBy, uniqBy } from "lodash";
22
import React from "react";
33
import * as Axis from "./axis";
44
import * as Style from "./style";

packages/victory-errorbar/src/error-bar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ const defaultProps = {
115115
shapeRendering: "auto",
116116
};
117117

118+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
118119
export const ErrorBar = (
119120
initialProps: ErrorBarProps & typeof ErrorBar.default,
120121
) => {

packages/victory-errorbar/src/victory-errorbar.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {
1212
StringOrNumberOrList,
1313
VictoryDatableProps,
1414
VictoryCommonProps,
15-
VictoryLabelableProps,
1615
VictoryMultiLabelableProps,
1716
VictoryStyleInterface,
1817
EventsMixinClass,

packages/victory-group/src/victory-group.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import { defaults, isEmpty } from "lodash";
22
import React from "react";
33
import {
4-
CategoryPropType,
5-
ColorScalePropType,
6-
DomainPaddingPropType,
7-
DomainPropType,
84
EventPropTypeInterface,
95
Helpers,
106
Hooks,

packages/victory-line/src/victory-line.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import {
1818
VictoryCommonProps,
1919
VictoryDatableProps,
2020
VictoryMultiLabelableProps,
21-
VictoryLabelableProps,
2221
VictoryStyleInterface,
2322
EventsMixinClass,
2423
} from "victory-core";

packages/victory-pie/src/helper-methods.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import * as d3Shape from "victory-vendor/d3-shape";
44

55
import { Helpers, Data, Style } from "victory-core";
66
import { VictoryPieProps } from "./victory-pie";
7-
import { getCategories } from "victory-core/lib/victory-util/data";
87

98
const checkForValidText = (text) => {
109
if (text === undefined || text === null || Helpers.isFunction(text)) {

packages/victory-pie/src/victory-pie.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,11 @@ import {
88
VictoryLabel,
99
VictoryTheme,
1010
UserProps,
11-
ColorScalePropType,
1211
EventPropTypeInterface,
1312
NumberOrCallback,
14-
OriginType,
1513
SliceNumberOrCallback,
1614
StringOrNumberOrCallback,
1715
VictoryCommonProps,
18-
VictoryLabelableProps,
1916
VictoryMultiLabelableProps,
2017
VictoryStyleInterface,
2118
EventsMixinClass,

packages/victory-stack/src/victory-stack.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@ import { defaults, isEmpty } from "lodash";
22
import React from "react";
33
import {
44
CategoryPropType,
5-
ColorScalePropType,
65
DomainPropType,
76
EventPropTypeInterface,
87
StringOrNumberOrCallback,
98
VictoryCommonProps,
10-
VictoryLabelableProps,
119
VictoryMultiLabelableProps,
1210
VictoryStyleInterface,
1311
Helpers,

0 commit comments

Comments
 (0)