Skip to content

Commit d2231a1

Browse files
committed
lint fix
1 parent 8d7bd34 commit d2231a1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,15 @@ interface CurvedLabelProps
2929
| "polar"
3030
| "textAnchor"
3131
| "verticalAnchor"
32-
| "transform"
3332
| "verticalAnchor"
3433
| "x"
3534
| "y"
3635
| "dx"
3736
| "dy"
3837
> {
3938
href?: string;
39+
id?: string;
40+
path?: string;
4041
startOffset?: number;
4142
textPathComponent?: React.ReactElement;
4243
}

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/* eslint no-magic-numbers: ["error", { "ignore": [-1, 0, 1, 2, 45, 90, 135, 180, 225, 270, 315, 360] }]*/
2-
import { defaults, isFunction, isPlainObject, isNil } from "lodash";
2+
import { defaults, isFunction, isPlainObject, isNil, uniqueId } from "lodash";
33
import * as d3Shape from "victory-vendor/d3-shape";
44

55
import { Helpers, Data, Style } from "victory-core";
6-
import { uniqueId } from "lodash";
76

87
const checkForValidText = (text) => {
98
if (text === undefined || text === null || isFunction(text)) {

0 commit comments

Comments
 (0)