Task/resolve no-constant-binary-expression ESLint rule (#5890)

* fix(lint): remove no-constant-binary-expression override

* fix(lint): resolve eslint errors
pull/5891/head
Kenrick Tandrian 4 months ago committed by GitHub
parent 4ecfdadda4
commit 60bfe1eaa6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -152,7 +152,6 @@ module.exports = [
// The following rules are part of eslint:recommended
// and can be remove once solved
'no-constant-binary-expression': 'warn',
'no-loss-of-precision': 'warn',
// The following rules are part of @typescript-eslint/recommended-type-checked

@ -185,7 +185,7 @@ export class GfFireCalculatorComponent implements OnChanges, OnDestroy {
'principalInvestmentAmount'
).value,
projectedTotalAmount:
Number(this.getProjectedTotalAmount().toFixed(0)) ?? 0,
Math.round(this.getProjectedTotalAmount()) || 0,
retirementDate:
this.getRetirementDate() ?? this.DEFAULT_RETIREMENT_DATE
},

Loading…
Cancel
Save