Skip to content

Commit

Permalink
Fix eslint violations.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnando committed Oct 10, 2024
1 parent 6571701 commit 8ecf5a2
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion __tests__/numberToRounded.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { repeat } from "lodash";
import BigNumber from "bignumber.js";
import { BigNumber } from "bignumber.js";

import { I18n } from "../src/I18n";
import en from "../json/en.json";
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/expandRoundMode.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BigNumber from "bignumber.js";
import { BigNumber } from "bignumber.js";
import { RoundingMode } from "../typing";

enum RoundingModeMap {
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/formatNumber.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BigNumber from "bignumber.js";
import { BigNumber } from "bignumber.js";
import repeat from "lodash/repeat";

import { FormatNumberOptions, Numeric } from "../typing";
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/numberToDelimited.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BigNumber from "bignumber.js";
import { BigNumber } from "bignumber.js";

import { Numeric, NumberToDelimitedOptions } from "../typing";

Expand Down
2 changes: 1 addition & 1 deletion src/helpers/numberToHuman.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BigNumber from "bignumber.js";
import { BigNumber } from "bignumber.js";
import sortBy from "lodash/sortBy";
import zipObject from "lodash/zipObject";

Expand Down
2 changes: 1 addition & 1 deletion src/helpers/numberToHumanSize.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BigNumber from "bignumber.js";
import { BigNumber } from "bignumber.js";

import { I18n } from "../I18n";
import { Numeric, NumberToHumanSizeOptions } from "../typing";
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/roundNumber.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BigNumber from "bignumber.js";
import { BigNumber } from "bignumber.js";

import { RoundingMode } from "../typing";
import { expandRoundMode } from "./expandRoundMode";
Expand Down
2 changes: 1 addition & 1 deletion src/typing.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BigNumber from "bignumber.js";
import { BigNumber } from "bignumber.js";

import { I18n } from "./I18n";

Expand Down
2 changes: 1 addition & 1 deletion typings/helpers/expandRoundMode.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import BigNumber from "bignumber.js";
import { BigNumber } from "bignumber.js";
import { RoundingMode } from "../typing";
export declare function expandRoundMode(roundMode: RoundingMode): BigNumber.RoundingMode;
2 changes: 1 addition & 1 deletion typings/helpers/roundNumber.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BigNumber from "bignumber.js";
import { BigNumber } from "bignumber.js";
import { RoundingMode } from "../typing";
type RoundingOptions = {
roundMode: RoundingMode;
Expand Down
2 changes: 1 addition & 1 deletion typings/typing.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BigNumber from "bignumber.js";
import { BigNumber } from "bignumber.js";
import { I18n } from "./I18n";
export type MakePlural = (count: number, ordinal?: boolean) => string;
export interface Dict {
Expand Down

0 comments on commit 8ecf5a2

Please sign in to comment.