Skip to content

Commit

Permalink
Cleanup ESLint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonrobot committed Nov 8, 2024
1 parent d55eb2c commit 086857d
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 14 deletions.
1 change: 0 additions & 1 deletion packages/victory-candlestick/src/victory-candlestick.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
VictoryCommonProps,
VictoryDatableProps,
VictoryLabelStyleObject,
VictoryLabelableProps,
VictoryMultiLabelableProps,
VictoryStyleObject,
NumberOrCallback,
Expand Down
2 changes: 1 addition & 1 deletion packages/victory-core/src/victory-util/wrapper.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
1 change: 1 addition & 0 deletions packages/victory-errorbar/src/error-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
) => {
Expand Down
1 change: 0 additions & 1 deletion packages/victory-errorbar/src/victory-errorbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
StringOrNumberOrList,
VictoryDatableProps,
VictoryCommonProps,
VictoryLabelableProps,
VictoryMultiLabelableProps,
VictoryStyleInterface,
EventsMixinClass,
Expand Down
4 changes: 0 additions & 4 deletions packages/victory-group/src/victory-group.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import { defaults, isEmpty } from "lodash";
import React from "react";
import {
CategoryPropType,
ColorScalePropType,
DomainPaddingPropType,
DomainPropType,
EventPropTypeInterface,
Helpers,
Hooks,
Expand Down
1 change: 0 additions & 1 deletion packages/victory-line/src/victory-line.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
VictoryCommonProps,
VictoryDatableProps,
VictoryMultiLabelableProps,
VictoryLabelableProps,
VictoryStyleInterface,
EventsMixinClass,
} from "victory-core";
Expand Down
1 change: 0 additions & 1 deletion packages/victory-pie/src/helper-methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
3 changes: 0 additions & 3 deletions packages/victory-pie/src/victory-pie.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,11 @@ import {
VictoryLabel,
VictoryTheme,
UserProps,
ColorScalePropType,
EventPropTypeInterface,
NumberOrCallback,
OriginType,
SliceNumberOrCallback,
StringOrNumberOrCallback,
VictoryCommonProps,
VictoryLabelableProps,
VictoryMultiLabelableProps,
VictoryStyleInterface,
EventsMixinClass,
Expand Down
2 changes: 0 additions & 2 deletions packages/victory-stack/src/victory-stack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ import { defaults, isEmpty } from "lodash";
import React from "react";
import {
CategoryPropType,
ColorScalePropType,
DomainPropType,
EventPropTypeInterface,
StringOrNumberOrCallback,
VictoryCommonProps,
VictoryLabelableProps,
VictoryMultiLabelableProps,
VictoryStyleInterface,
Helpers,
Expand Down

0 comments on commit 086857d

Please sign in to comment.