Skip to content

Commit

Permalink
lint error fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
canpolatoral authored May 8, 2019
1 parent 56a0703 commit 6eb7a6e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/utils/src/Localization/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export class Localization {
}

static getDateTimeFormat(format) {
// eslint-disable-next-line no-underscore-dangle
return moment.localeData()._longDateFormat[format];
}

Expand All @@ -133,10 +134,12 @@ export class Localization {
}

static getFloatValue(value) {
// eslint-disable-next-line no-underscore-dangle
return numeral(value)._value;
}

static getIntegerValue(value) {
// eslint-disable-next-line no-underscore-dangle
return parseInt(numeral(value)._value, 10);
}

Expand Down

0 comments on commit 6eb7a6e

Please sign in to comment.