Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Sep 29, 2024
1 parent e5e774d commit fdaa229
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,14 @@
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-typescript": "^12.1.0",
"@types/d3-selection": "^3.0.10",
"@types/jest-image-snapshot": "^6.4.0",
"@types/node": "^22.7.4",
"@yarnpkg/sdks": "^3.2.0",
"canvas": "^2.11.2",
"canvas-5-polyfill": "^0.1.5",
"chart.js": "^4.4.4",
"d3-selection": "^3.0.0",
"eslint": "^9.11.1",
"eslint-plugin-prettier": "^5.2.1",
"jest-image-snapshot": "^6.4.0",
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/createChart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function createChart<
TYPE extends ChartType,
DATA extends unknown[] = DefaultDataPoint<TYPE>,
LABEL = string,
>(config: ChartConfiguration<TYPE, DATA, LABEL>, width = 800, height = 600): ChartHelper<TYPE, DATA, LABEL> {
>(config: ChartConfiguration<TYPE, DATA, LABEL>, width = 800, height = 600): ChartHelper<TYPE, DATA, LABEL> {
const canvas = document.createElement('canvas');
canvas.width = width;
canvas.height = height;
Expand Down
2 changes: 1 addition & 1 deletion src/elements/ArcSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class ArcSlice extends Element<IArcSliceProps, IArcSliceOptions> implemen
/**
* @hidden
*/
// eslint-disable-next-line class-methods-use-this

hasValue(): boolean {
return true;
}
Expand Down
9 changes: 9 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,13 @@ __metadata:
languageName: node
linkType: hard

"@types/d3-selection@npm:^3.0.10":
version: 3.0.10
resolution: "@types/d3-selection@npm:3.0.10"
checksum: 10c0/de1f99ab186a08999bf394a645fd76911add1b02316270d4c07616c8383903a2b068d7e02b73b6a99a1f26bb49a2e99ef4b55a5d2ddfa165f6f3c53144897920
languageName: node
linkType: hard

"@types/emscripten@npm:^1.39.6":
version: 1.39.13
resolution: "@types/emscripten@npm:1.39.13"
Expand Down Expand Up @@ -2353,13 +2360,15 @@ __metadata:
"@rollup/plugin-node-resolve": "npm:^15.3.0"
"@rollup/plugin-replace": "npm:^6.0.1"
"@rollup/plugin-typescript": "npm:^12.1.0"
"@types/d3-selection": "npm:^3.0.10"
"@types/jest-image-snapshot": "npm:^6.4.0"
"@types/node": "npm:^22.7.4"
"@upsetjs/venn.js": "npm:^1.4.2"
"@yarnpkg/sdks": "npm:^3.2.0"
canvas: "npm:^2.11.2"
canvas-5-polyfill: "npm:^0.1.5"
chart.js: "npm:^4.4.4"
d3-selection: "npm:^3.0.0"
eslint: "npm:^9.11.1"
eslint-plugin-prettier: "npm:^5.2.1"
jest-image-snapshot: "npm:^6.4.0"
Expand Down

0 comments on commit fdaa229

Please sign in to comment.