Skip to content

Commit fdaa229

Browse files
committed
fix: linter
1 parent e5e774d commit fdaa229

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,14 @@
5959
"@rollup/plugin-node-resolve": "^15.3.0",
6060
"@rollup/plugin-replace": "^6.0.1",
6161
"@rollup/plugin-typescript": "^12.1.0",
62+
"@types/d3-selection": "^3.0.10",
6263
"@types/jest-image-snapshot": "^6.4.0",
6364
"@types/node": "^22.7.4",
6465
"@yarnpkg/sdks": "^3.2.0",
6566
"canvas": "^2.11.2",
6667
"canvas-5-polyfill": "^0.1.5",
6768
"chart.js": "^4.4.4",
69+
"d3-selection": "^3.0.0",
6870
"eslint": "^9.11.1",
6971
"eslint-plugin-prettier": "^5.2.1",
7072
"jest-image-snapshot": "^6.4.0",

src/__tests__/createChart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default function createChart<
3434
TYPE extends ChartType,
3535
DATA extends unknown[] = DefaultDataPoint<TYPE>,
3636
LABEL = string,
37-
>(config: ChartConfiguration<TYPE, DATA, LABEL>, width = 800, height = 600): ChartHelper<TYPE, DATA, LABEL> {
37+
>(config: ChartConfiguration<TYPE, DATA, LABEL>, width = 800, height = 600): ChartHelper<TYPE, DATA, LABEL> {
3838
const canvas = document.createElement('canvas');
3939
canvas.width = width;
4040
canvas.height = height;

src/elements/ArcSlice.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export class ArcSlice extends Element<IArcSliceProps, IArcSliceOptions> implemen
124124
/**
125125
* @hidden
126126
*/
127-
// eslint-disable-next-line class-methods-use-this
127+
128128
hasValue(): boolean {
129129
return true;
130130
}

yarn.lock

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,6 +1071,13 @@ __metadata:
10711071
languageName: node
10721072
linkType: hard
10731073

1074+
"@types/d3-selection@npm:^3.0.10":
1075+
version: 3.0.10
1076+
resolution: "@types/d3-selection@npm:3.0.10"
1077+
checksum: 10c0/de1f99ab186a08999bf394a645fd76911add1b02316270d4c07616c8383903a2b068d7e02b73b6a99a1f26bb49a2e99ef4b55a5d2ddfa165f6f3c53144897920
1078+
languageName: node
1079+
linkType: hard
1080+
10741081
"@types/emscripten@npm:^1.39.6":
10751082
version: 1.39.13
10761083
resolution: "@types/emscripten@npm:1.39.13"
@@ -2353,13 +2360,15 @@ __metadata:
23532360
"@rollup/plugin-node-resolve": "npm:^15.3.0"
23542361
"@rollup/plugin-replace": "npm:^6.0.1"
23552362
"@rollup/plugin-typescript": "npm:^12.1.0"
2363+
"@types/d3-selection": "npm:^3.0.10"
23562364
"@types/jest-image-snapshot": "npm:^6.4.0"
23572365
"@types/node": "npm:^22.7.4"
23582366
"@upsetjs/venn.js": "npm:^1.4.2"
23592367
"@yarnpkg/sdks": "npm:^3.2.0"
23602368
canvas: "npm:^2.11.2"
23612369
canvas-5-polyfill: "npm:^0.1.5"
23622370
chart.js: "npm:^4.4.4"
2371+
d3-selection: "npm:^3.0.0"
23632372
eslint: "npm:^9.11.1"
23642373
eslint-plugin-prettier: "npm:^5.2.1"
23652374
jest-image-snapshot: "npm:^6.4.0"

0 commit comments

Comments
 (0)