mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
fix(lint): Space infix operator (?)
This commit is contained in:
@@ -39,6 +39,6 @@ export function toNextLevel (lvl) {
|
||||
{halfway} (optional) the point at which the graph starts bending
|
||||
*/
|
||||
|
||||
export function diminishingReturns (bonus, max, halfway = max/2) {
|
||||
export function diminishingReturns (bonus, max, halfway = max / 2) {
|
||||
return max * (bonus / (bonus + halfway));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user