Skip to content

Commit

Permalink
chore: fix library lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hkang1 committed May 18, 2023
1 parent 1649798 commit 38835d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/classes/NiceScale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ export const DEFAULT_REVERSE = false;
export const MIN_TICK_DISTANCE = 50;

abstract class NiceScale {
protected axisLength = 1;
protected maxTicks = 1;
protected dataOnEdge = DEFAULT_DATA_ON_EDGE;
public max: number;
public min: number;
public range = 0;
Expand All @@ -22,9 +25,6 @@ abstract class NiceScale {
public ticks: number[] = [];
public tickPadding = 0;
public tickSpacing = 0;
protected axisLength = 1;
protected maxTicks = 1;
protected dataOnEdge = DEFAULT_DATA_ON_EDGE;

/**
* Instantiates a new instance of the NiceScale class.
Expand Down
2 changes: 1 addition & 1 deletion src/utils/interaction.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { FILTER, INVALID_RECT } from '../defaults';
import * as t from '../types';

import { clone, comparePrimitive } from './data';
import { clone } from './data';
import { shiftRect } from './math';

export const DIMENSION_SWAP_THRESHOLD = 30;
Expand Down

0 comments on commit 38835d0

Please sign in to comment.