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 78c8765 commit 00fa977
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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/controllers/WordCloudController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export class WordCloudController extends DatasetController<'wordCloud', WordElem
run(f, tries - 1);
return;
}
// eslint-disable-next-line no-console

console.warn(`cannot fit all text elements in ${growOptions.maxTries} tries`);
}
const wb = bounds[1].x - bounds[0].x;
Expand Down

0 comments on commit 00fa977

Please sign in to comment.